Need help again, now to upgrade to Trisquel 8. I'm not opening a new thread just in case it is related to this one. Anyway I did open an issue at
https://trisquel.info/en/issues/24146


Home was encrypted. I lost my user's password, but had with me the mount passphrase to decrypt it. So I did:

- Boot with a Live Trisquel USB
- Run
 ecryptfs-recover-private --rw
- Copy decrypted contents to an external drive preserving their permissions
- Set a new password for my user
- Delete the original encrypted home directory
- Create /home/myusername where myusername is the same as it was
- Copy dectrypted contents from the external drive to /home/myusername preserving permissions

Everything seemed to be good, I can login with myusername and access my home directory.

Then I tried to upgrade to Trisquel 8, but I got the following:

myusername@mycomputername:~$
myusername@mycomputername:~$
myusername@mycomputername:~$ sudo update-manager
[sudo] password for myusername:

** (update-manager:3875): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-5e8wQfhIBZ: Connection refused
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 115, in
    app = UpdateManager(data_dir, options)
File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 115, in __init__
    self.options and self.options.use_proposed)
File "/usr/lib/python3/dist-packages/UpdateManager/MetaReleaseGObject.py", line 44, in __init__
    MetaReleaseCore.__init__(self, useDevelopmentRelease, useProposed)
File "/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py", line 94, in __init__
    cache = apt.Cache()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 151, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/deb.torproject.org_torproject.org_dists_trusty_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.

(update-manager:3875): GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed

(update-manager:3875): GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Exception ignored in: myusername@mycomputername:~$
myusername@mycomputername:~$
myusername@mycomputername:~$
myusername@mycomputername:~$
myusername@mycomputername:~$
myusername@mycomputername:~$
myusername@mycomputername:~$
myusername@mycomputername:~$ do-release-upgrade
Checking for a new Trisquel release
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 116, in
    useProposed=options.proposed_release)
File "/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py", line 94, in __init__
    cache = apt.Cache()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 151, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/deb.torproject.org_torproject.org_dists_trusty_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.
myusername@mycomputername:~$


So I went to
Software & Udates > Other Software
and uncheck boxes for Tor sources.

Then I could run the update manager


myusername@mycomputername:~$ sudo update-manager
[sudo] password for myusername:

** (update-manager:15434): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-5e8wQfhIBZ: Connection refused
Checking for a new Trisquel release

** (do-release-upgrade:15498): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-5e8wQfhIBZ: Connection refused
authenticate 'flidas.tar.gz' against 'flidas.tar.gz.gpg'
extracting 'flidas.tar.gz'

** (flidas:15498): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-5e8wQfhIBZ: Connection refused


Besides the messages above, the upgrade stopped with a window saying:

"Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

 This can be caused by:
 * Upgrading to a pre-release version of Trisquel
 * Running the current pre-release version of Trisquel
 * Unofficial software packages not provided by Trisquel

If none of this applies, then please report this bug using the command https://trisquel.info/en/project/issues in a browser.."


As I am running Trisquel 7, I thought the cause could only be the third one, so I went again to
Software & Udates > Other Software
and unchecked every box.

Then I run update manager again but got the same error window saying it could not calculate the upgrade : (

Please find here some logs:
https://privatebin.net/?201152c12c5eb511#0ptAzd4wz27HqNPBf+CnKbFuBesGc6srYnLJsWxxxSs=

Another thing I noticed is my swap partition was not working. So far I have just managed to delete the swap partition, and now I am fighting to create a swap and encrypt it, but when using
ecryptfs-setup-swap
it freezes with the message 'cryptdisks stop/waiting'. I read somewhere it might be a bug of Ubuntu 14.04. So I guess I can forgat about this now, and focus on the upgrade to Trisquel 8.

Reply via email to