worked, but badly .. Re: update to ubuntu 15 failed..

robert rottermann robert at redcor.ch
Fri Apr 24 12:16:53 UTC 2015


Thanks
On 24.04.2015 08:52, Peter Fodrek wrote:
> V Piatok, 24. apríl 2015 o 08:09 +0200, robert rottermann napísal(a):
>> Hi there,
>>
>> I tried to upgrade to the newest ubuntu version.
>> The upgrade process stopped in the middle.
>> Now after rebooting the computer an attempt to do any cleanup or upgrade results
>> in the following:
>> what can I do?
> first
>
> sudo dpkg --configure -a
>
> after it you may try
>
> sudo apt-get update &&sudo apt-get upgrade
>
> if it fails
>
> then
>   sudo apt-get remove  update-notifier-common
>
>   sudo apt-get remove  update-notifier
>
>    sudo apt-get remove  ubuntu-desktop
>
> sudo apt-get update &&sudo apt-get upgrade
>
>   sudo apt-get install  update-notifier-common
>
>   sudo apt-get install  update-notifier
>
>    sudo apt-get install  ubuntu-desktop
>
>
>
this did not work either..
Ithe found out, that

/usr/bin/lib/python2.7/site-packages

was empty.

after I did the following:

  ln -s /usr/lib/python2.7/dist-packages/debian
  ln -s /usr/lib/python2.7/dist-packages/char
  ln -s /usr/lib/python2.7/dist-packages/chardet
  ln -s /usr/lib/python2.7/dist-packages/six.py


I could do apt update && apt upgrade

but now I still have a messed up installation.
Especially my python is probably not correctly installed at all

any more ideas?

tanks
robert






>> ps: I messed with python before ..
>>
>>    No apport report written because the error message indicates its a followup
>> error from a previous failure.
>>                                                             Errors were
>> encountered while processing:
>>    update-notifier-common
>>    update-notifier
>>    ubuntu-desktop
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> root at chrissy:/home/robert# apt-get autoremove
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>> 3 not fully installed or removed.
>> After this operation, 0 B of additional disk space will be used.
>> Setting up update-notifier-common (3.160) ...
>> Traceback (most recent call last):
>>     File "/usr/lib/update-notifier/package-data-downloader", line 24, in <module>
>>       import debian.deb822
>> ImportError: No module named debian.deb822
>> dpkg: error processing package update-notifier-common (--configure):
>>    subprocess installed post-installation script returned error exit status 1
>> dpkg: dependency problems prevent configuration of update-notifier:
>>    update-notifier depends on update-notifier-common (= 3.160); however:
>>     Package update-notifier-common is not configured yet.
>>
>> dpkg: error processing package update-notifier (--configure):
>>    dependency problems - leaving unconfigured
>> dpkg: dependency problems prevent configuration of ubuntu-desktop:
>>    ubuntu-desktop depends on update-notifier; however:
>>     Package update-notifier is not configured yet.
>>
>> dpkg: error processing package ubuntu-desktop (--configure):
>>    dependency problems - leaving unconfigured
>> No apport report written because the error message indicates its a followup
>> error from a previous failure.
>> No apport report written because the error message indicates its a followup
>> error from a previous failure.
>>                                                             Errors were
>> encountered while processing:
>>    update-notifier-common
>>    update-notifier
>>    ubuntu-desktop
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>>
>
>





More information about the ubuntu-users mailing list