Not getting the ability to upgrade

46 replies [Last post]
yrk
yrk

I am a member!

Offline
Joined: 08/28/2012

Hello,

I'm using "http://archive.trisquel.info brigantia" as my repositories and I'm not getting the offer to upgrade to 6.0 from the GUI or the command line. Any help would be appreciated.

$ sudo do-release-upgrade

Checking for a new trisquel release
No new release found

lembas
Offline
Joined: 05/13/2010
yrk
yrk

I am a member!

Offline
Joined: 08/28/2012

Thank you for pointing that out.

pt133912
Offline
Joined: 01/27/2012

$ sudo apt-get update && sudo apt-get upgrade && sudo do-release-upgrade -d

or

$ sudo update-manager -d

Use at your own risk.
For me it worked just fine.

yrk
yrk

I am a member!

Offline
Joined: 08/28/2012

Unfortunately, the upgrade broke my machine. I'll do some backups and try again from a clean install.

jxself
Offline
Joined: 09/13/2010

"Unfortunately, the upgrade broke my machine. I'll do some backups and try again from a clean install."

Yep, this is why upgrading is disabled. Please don't upgrade at this time. Your package manager will prompt you when it's safe. In the meantime, just sit back. :)

If you absolutely must use Trisquel 6 for some reason, do a clean install. It's safer.

Dave_Hunt

I am a member!

Offline
Joined: 09/19/2011

My experience with doing upgrades over the net has never been
satisfactory; a clean, new install is the only way I do it.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

You are unlucky: I have upgraded my Trisquel system since Trisquel 3.5 (what makes four upgrades) and only faced minor troubles (like elements disappearing from the panels).

libredrs

I am a member!

Offline
Joined: 01/29/2012

Trisquel 6.0 LTS Upgrade now appears in my Update Manager, but after running through several installation steps, UM says that an upgrade is not available and returns the system to its original state.

My computer is running 5.5.

FYI.

libredrs

I am a member!

Offline
Joined: 01/29/2012

Just upgraded a machine from 5.5 to 6.0 using UM. Worked great. Thanks!

mtv
mtv
Offline
Joined: 04/15/2013

Hi all,

Unfortunately, after:

$ sudo update-manager -d

I got this error:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

Please report this bug against the 'update-manager' package and include the following error message:
'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'

Any suggestion?

Many thanks in advance.

lembas
Offline
Joined: 05/13/2010

Hello there. Have you jumped through the required special hoops for this upgrade? http://trisquel.info/en/forum/trisquel-40-55-reach-end-life-may-9-2013#comment-33111

(yes I know, semi secret info)

jxself
Offline
Joined: 09/13/2010

The -d signifies using a development version. Since 6.0 is in full release the -d shouldn't be needed anymore. Please remember to first apply all available updates for your current Trisquel setup first and disable multiarch.

mtv
mtv
Offline
Joined: 04/15/2013

Thank you for the suggestions.
I applied all updates before trying to run the update-manager.
However, I didn't focus on multiarch.

Within my configuration, the directory /etc/dpkg/dpkg.cfg.d/ is empty. I would guess that multiarch is already disabled. Am I wrong?

Invoking

$ sudo update-manager

raises the same error I mentioned in the previous post:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade. [omitted]

jxself
Offline
Joined: 09/13/2010

What version of Trisquel are you using?

Jayn
Offline
Joined: 08/27/2010

My package manager shows the option to upgrade, but after downloading the tools, I always get an "authentication failure" message and nothing proceeds. I am running 64-bit 5.5 on an Asus Eee 1015.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Have you tried changing your "Software Source" (to the main server for example)?

Jayn
Offline
Joined: 08/27/2010

I have tried switching to the Main Server, but the Authentication Failure still occurs.

lembas
Offline
Joined: 05/13/2010

What are your sources?

cat /etc/apt/sources.list

Jayn
Offline
Joined: 08/27/2010

My sources file reads:
# Trisquel repositories for supported software and updates

deb http://archive.trisquel.info/trisquel/ brigantia main
deb-src http://archive.trisquel.info/trisquel/ brigantia main
deb http://archive.trisquel.info/trisquel/ brigantia-security main
deb-src http://archive.trisquel.info/trisquel/ brigantia-security main
deb http://archive.trisquel.info/trisquel/ brigantia-updates main
deb-src http://archive.trisquel.info/trisquel/ brigantia-updates main
# deb http://us.archive.trisquel.info/trisquel/ brigantia-backports main
# deb-src http://us.archive.trisquel.info/trisquel/ brigantia-backports main

Andresm

I am a member!

Offline
Joined: 11/21/2010

OK Jayn and myself have the same problem. https://trisquel.info/en/forum/trisquel-40-55-reach-end-life-may-9-2013#comment-33538

I will continue in this post.

lembas
Offline
Joined: 05/13/2010

The sources of both of you look fine.

Did you do

sudo rm -f /etc/dpkg/dpkg.cfg.d/multiarch

and

sudo apt-get update && sudo apt-get upgrade

prior to attempting upgrade?

Jayn
Offline
Joined: 08/27/2010

Yes, even doing that did not help.

Andresm

I am a member!

Offline
Joined: 11/21/2010

Same here. I still get authentification error with the update manager.

$ sudo do-release-upgradeComprobar si existe un nueva versión de Trisquel
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1503 kB]
Fetched 1503 kB in 0s (0 B/s)
authenticate 'toutatis.tar.gz' against 'toutatis.tar.gz.gpg'
extracting 'toutatis.tar.gz'
[screen is terminating]

this terminated because it needed 780Mb of free space. So I will try to release some space.

Andresm

I am a member!

Offline
Joined: 11/21/2010

I had 9 Gb of free space. I really cannot release any more space.

Could this have to do with EXT4 being a limited size? And having the home on the other file format? I am not sure if that is my case or did I end up using ext4 for the whole drive. How do I go about checking that.

BTW

$sudo do-release-upgrade

goes a bit farther than update manager.

Andresm

I am a member!

Offline
Joined: 11/21/2010

Tried again, seems like I have liberated some space. But this mainly had to do with uninstalling texworks and gcompris and other programs. Not so much the /home. Which makes me think that I have to continue to uninstall programs.

and sudo apt-get clean

Calculando los cambios

No hay espacio suficiente en el disco

La actualización se canceló. La actualización necesita un total de
1165 M de espacio libre en el disco «/». Libere al menos 363 M de
espacio en el disco «/». Pruebe vaciando su papelera y borrando
paquetes temporales de antiguas instalaciones usando la orden «sudo
apt-get clean».

Restaurando el estado original del sistema

Cancelando
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Fri Apr 26 09:43:46 2013) ===
=== Command terminated with exit status 1 (Fri Apr 26 09:43:46 2013) ==

Andresm

I am a member!

Offline
Joined: 11/21/2010

Yes! some progress! I had to go to synaptic and uninstall libre office and loads of TeX documentation and software. I finally got downloading.

Remember in synaptic to say remove completely. Also do the apt clean command.

I will let you know how I get on. But it seems to be downloading nicely.

Andresm

I am a member!

Offline
Joined: 11/21/2010

Ah! remind people willing to try again that I used

$sudo do-release-upgrade

to upgrade. I did not get the upgrade manager to authenticate.

Andresm

I am a member!

Offline
Joined: 11/21/2010

Upgrade complete! I was using gnome shell and it stuck to gnomeshell. Even the background stayed. The start up animation is stunning.

Great job guys thank you!

Only thing left is that the search engine in gnomeshell went back to default and it removed my configuration.

http://trisquel.info/en/issues/7197#comment-33815

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

For the record: the upgrade requires space in the root filesystem. If /home is on a separate partition, removing movies will not help. Some easy ways to free the root filesystem (potentially a lot):

  • Uninstall dependencies that became unecessary (check out the list before accepting!):
    $ sudo apt-get autoremove
  • Erase all .deb packages (the packages, not the installed software):
    $ sudo apt-get autoremove
  • Remove all Linux kernels (image and headers) but the latest version you are currently using
GustavoCM

I am a member!

Offline
Joined: 11/20/2012

The second command is "clean", not "autoremove".

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Indeed. Sorry for the copy-paste not followed by the required modification.

GustavoCM

I am a member!

Offline
Joined: 11/20/2012

No problems :-)

Andresm

I am a member!

Offline
Joined: 11/21/2010

Thanks! would you say that the first two are done by 'janitor'?

last one means i would go to synaptic and search for linux headers and delete the ones with smallest version number?

GustavoCM

I am a member!

Offline
Joined: 11/20/2012

janitor does more than that -- to me, it offers to remove any package which is not on the repos I use, like libdvdcss2 which I installed by running /usr/share/doc/libdvdread4/install-css.sh --; you should be safe using only "autoremove" and "clean".

To know which linux-* packages are installed you could type "apt-get remove linux" in a command line and hit TAB two times -- the terminal would show you which packages beginning with "linux" you can remove.

Andresm

I am a member!

Offline
Joined: 11/21/2010

thanks!

Jayn
Offline
Joined: 08/27/2010

I tried sudo do-release-upgrade and it went through the process. At the end, it said upgrade complete but there was something that did not complete. I ran do-release-upgrade again and it still said something was not completed. Upon reboot, things looked the same. I ran the Update Manager and I got a dialog saying 'Partial Upgrade'. When I clicked it, it said that I could not upgrade from brigantia to toutatis with that tool. I am tempted to burn a CD and try to install over just my root partition and hopefully leave my /home one alone. Has been frustrating so far but I think it has to do with running 64-bit, which in my opinion is overrated.

tito2013

I am a member!

Offline
Joined: 04/29/2013

I had no problem upgrading using Update Manager and then sudo do-release-upgrade. It took about one hour overall and I had to intervene only 3 times to decide yes or no to something. It all went very smoothly from the time of downloading an upgrade tool to the updating of all the packages. So, it is possible to upgrade in that way without any problems. I'm using a Samsung netbook,

Andresm

I am a member!

Offline
Joined: 11/21/2010

i do not know if I can help but when you did the do-release upgrade, what was it that it said that was missing?

Jayn
Offline
Joined: 08/27/2010

When I do it now, it just says "no new release found." but I do get this:

senobyte@senobyte-1015PN:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libnih-dbus1 : Depends: libnih1 (= 1.0.3-4ubuntu9.1) but 1.0.3-4ubuntu2 is installed
libnih1 : Depends: libc6 (< 2.14) but 2.15-0ubuntu10.3 is installed
zlib1g-dev : Depends: zlib1g (= 1:1.2.3.4.dfsg-3ubuntu4) but 1:1.2.3.4.dfsg-3ubuntu3 is installed
E: Unmet dependencies. Try using -f.

I have tried to reinstall libc6 from Synaptic but it does not work.

Jayn
Offline
Joined: 08/27/2010

When I try to fix the broken packages, I get:

The following packages were automatically installed and are no longer required:
libgpg-error-dev comerr-dev libkrb5-dev user-setup libgnutlsxx26 libgssrpc4
libidn11-dev libtasn1-3-dev localechooser-data libgcrypt11-dev
libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-5 krb5-multidev libldap2-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libnih1
The following packages will be upgraded:
libnih1
1 upgraded, 0 newly installed, 0 to remove and 1651 not upgraded.
7 not fully installed or removed.
Need to get 0 B/54.8 kB of archives.
After this operation, 27.6 kB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing libc6 (--configure):
libc6:amd64 2.15-0ubuntu10.3 cannot be configured because libc6:i386 is in a different version (2.13-20ubuntu5.3)
Errors were encountered while processing:
libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)

GustavoCM

I am a member!

Offline
Joined: 11/20/2012
dpkg: error processing libc6 (--configure):
libc6:amd64 2.15-0ubuntu10.3 cannot be configured because libc6:i386 is in a different version (2.13-20ubuntu5.3)

(Re)move the /etc/dpkg/dpkg.cfg.d/multiarch file; remove every *:i386 package. Then try again.

Are you sure your Brigantia installation was up-to-date before doing the upgrade? AFAIK, if it was, it should remove that automatically.

Jayn
Offline
Joined: 08/27/2010

Do I remove the i386 packages with apt-get, or by deleting them?

GustavoCM

I am a member!

Offline
Joined: 11/20/2012

I'd search for ":i386" in the Synaptic package manager and purge the results.

Jayn
Offline
Joined: 08/27/2010

I checked the dpkg directory for the multiarch file, but none was there.

Jayn
Offline
Joined: 08/27/2010

I have successfully upgraded my 32-bit HP Mini with 'sudo do-release-upgrade', so all that remains is my 64-bit netbook. Searching for :i386 in Synaptic only showed that perl was the only relevant thing installed, the other *386 packages were not installed like libc6. Last year, for my HP Mini, it came to backing up, and reinstalling over the whole drive. It may come to that, but I will wait for a while.

Jayn
Offline
Joined: 08/27/2010

I found out that the problem is that the libc6-i386 is version 2.13, while the libc6-amd64 is 2.15 and this is preventing libc6 from being configured. 'sudo-do-release-upgrade' no longer works, but my system is clearly not 6.0. The latest libc6-i386 i can find to download from the Trisquel package site is 2.13, so I am not sure what I can do manually to fix this.