[ubuntu-studio-users] Offer to upgrade failed

Ross Gammon rosco at ubuntustudio.org
Sat Jan 19 13:13:57 UTC 2019


Hi Paul,

Aah - I vaguely remember this problem. Python-enum has been removed from
Debian. I ported laditools to use python-enum34 instead, which is the
latest. Actually you don't even need this if you have python v3.5 and above.

Anyway, if you "apt remove python-enum", laditools will probably also be
suggested for removal (and maybe some others). Then hopefully the
upgrade succeeds, and after that you can reinstall laditools and the
other stuff (if you need to use them).

Regards,

Ross

On 1/19/19 12:26 PM, sciguy at vex.net wrote:
> Hi
> 
>  
> 
> As for “sudo apt —fix-broken install” clearing up my problems, I
> wouldn’t break out the champagne just yet.
> 
>  
> 
> I have another pastebin at https://pastebin.com/qYTLsTCZ
> 
> which tells more of the story. Overall, the error messages are circular:
> apt complains about conflicts with packages that don’t exist on my
> system; apt wants me to install packages that it will later on say are
> “no longer needed”, and when I uninstall them, it will request them
> again. Unless these problems are resolved, apt will refuse to upgrade my
> OS to 18.10. Nearly all of these package problems involve Python
> packages, I noticed.
> 
>  
> 
> The pastebin was supposed to have bash highlighting. However, it seemed
> to color nearly everything. Clicking on the “raw” button to see the
> un-highlighted version might be better.
> 
>  
> 
> Paul King
> 
>  
> 
> *From:*ubuntu-studio-users
> <ubuntu-studio-users-bounces at lists.ubuntu.com> *On Behalf Of
> *webmaster at jtbadn.com
> *Sent:* Friday, January 18, 2019 1:11 PM
> *To:* Ubuntu Studio Users <ubuntu-studio-users at lists.ubuntu.com>
> *Subject:* Re: [ubuntu-studio-users] Offer to upgrade failed
> 
>  
> 
> Also, 
> 
>  
> 
> sudo apt dist-upgrade 
> 
> (sudo dist-upgrade may have been a typo on my part)
> 
>  
> 
> Regularly I use
> 
>  
> 
> apt update
> 
> apt upgrade
> 
> apt dist-upgrade
> 
> apt full-upgrade
> 
> apt autoremove
> 
> apt autoclean
> 
> do-release-upgrade 
> 
>    -p for proposed
> 
>    -d for development 
> 
> Respectfully, 
> 
>  
> 
> Joshua T. Sieber
> 
>  
> 
> 
> On Jan 18, 2019, at 1:06 PM, "webmaster at jtbadn.com
> <mailto:webmaster at jtbadn.com>" <webmaster at jtbadn.com
> <mailto:webmaster at jtbadn.com>> wrote:
> 
>     I actually think one of them is supposed to be
> 
>      
> 
>     sudo apt install —fix-missing
> 
>      
> 
>     Happy to hear sudo apt —fix-broken install cleared you up.
> 
>      
> 
>     Respectfully, 
> 
>      
> 
>     Joshua T. Sieber
> 
>      
> 
> 
>     On Jan 18, 2019, at 7:28 AM, <sciguy at vex.net
>     <mailto:sciguy at vex.net>> <sciguy at vex.net <mailto:sciguy at vex.net>> wrote:
> 
>         Many thanks for your sugggestions. See pastebin:
>         https://pastebin.com/u8nDyUSP
> 
>          
> 
>         sudo apt —fix-broken install
> 
>                         This command didn’t work.
> 
>         sudo apt install —fix-broken
> 
>                         This command did, and suggested to remove
>         packages that I later tried to remove using apt. This succeeded,
>         and:
> 
>         apt install -f
> 
>                         didn’t do much.
> 
>          
> 
>         The weird package problems I have been having have not been
>         fixed, and the the suggested packages with apt install
>         –fix-broken were not the same ones that were “blocked from update.”
> 
>          
> 
>         Paul
> 
>         * *
> 
>          
> 
>         *From:* ubuntu-studio-users
>         <ubuntu-studio-users-bounces at lists.ubuntu.com
>         <mailto:ubuntu-studio-users-bounces at lists.ubuntu.com>> *On
>         Behalf Of *webmaster at jtbadn.com <mailto:webmaster at jtbadn.com>
>         *Sent:* Thursday, January 17, 2019 2:24 AM
>         *To:* Ubuntu Studio Users <ubuntu-studio-users at lists.ubuntu.com
>         <mailto:ubuntu-studio-users at lists.ubuntu.com>>
>         *Subject:* Re: [ubuntu-studio-users] Offer to upgrade failed
> 
>          
> 
>         Paul, 
> 
>          
> 
>              OK it looks like because of some dependencies that haven’t
>         been met there are some programs that need to be there in order
>         to continue.
> 
>          
> 
>         Try these;
> 
>          
> 
>         sudo apt —fix-broken install
> 
>         sudo apt install —fix-broken
> 
>         apt install -f
> 
>          
> 
>          
> 
>          
> 
>         Respectfully, 
> 
>          
> 
>         Joshua T. Sieber
> 
>          
> 
> 
>         On Jan 17, 2019, at 12:30 AM, <sciguy at vex.net
>         <mailto:sciguy at vex.net>> <sciguy at vex.net
>         <mailto:sciguy at vex.net>> wrote:
> 
>             I have tried this, and I keep getting reminded about the
>             blocked updates, and the refusal to upgrade to the latest
>             version.
> 
>              
> 
>             Here is my latest effort:
> 
>              
> 
>             Script started on Wed 16 Jan 2019 08:36:02 PM EST
> 
>             paul at rivendell $ sudo apt update
> 
>             [sudo] password for paul:
> 
>             paul at rivendell $ sudo apt update -y
> 
>             [sudo] password for paul:
> 
>              [Working]            Hit:1
>             http://archive.canonical.com/ubuntu xenial InRelease
> 
>             [Waiting for headers] [Connecting to ppa.launchpad.net
>             <http://ppa.launchpad.net> (91.189.95.83) [1 InRelease gpgv
>             11.5 kB] [Waiting for headers] [Connecting to
>             ppa.launchpa                                     0% [Waiting
>             for headers] [Waiting for headers]    Hit:2
>             http://archive.ubuntu.com/ubuntu xenial InRelease
> 
>             0% [Waiting for headers] 0% [2 InRelease gpgv 247 kB]
>             [Waiting for headers] [Waiting for headers] Hit:3
>             http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu
>             xenial InRelease 0% [2 InRelease gpgv 247 kB] [Waiting for
>             headers] 0% [Waiting for headers] [Connecting to
>             ppa.launchpad.net <http://ppa.launchpad.net> (91.189.95.83)]
>             0% [3 InRelease gpgv 17.6 kB] [Waiting for headers]
>             [Connecting to ppa.launchpa   Hit:4
>             http://archive.ubuntu.com/ubuntu xenial-updates InRelease
> 
>             0% [3 InRelease gpgv 17.6 kB] [Connecting to
>             ppa.launchpad.net <http://ppa.launchpad.net> (91.189.95.83)]
>             0% [Waiting for headers] [Connecting to ppa.launchpad.net
>             <http://ppa.launchpad.net> (91.189.95.83)] 0% [4 InRelease
>             gpgv 109 kB] [Waiting for headers] [Connecting to
>             ppa.launchpad 0% [Waiting for headers] [Waiting for headers]
>             Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports
>             InRelease 0% [Waiting for headers] 0% [5 InRelease gpgv 107
>             kB] [Waiting for headers] [Waiting for
>             headers]                                      
>                                              Hit:6
>             http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu
>             trusty InRelease
> 
>             0% [5 InRelease gpgv 107 kB] [Waiting for
>             headers]                                                  0%
>             [Waiting for headers] 0% [6 InRelease gpgv 15.5 kB] [Waiting
>             for
>             headers]                                                  
>             0% [Waiting for headers]                        Hit:7
>             http://archive.ubuntu.com/ubuntu xenial-security InRelease 
>             0% [Working] 0% [7 InRelease gpgv 107 kB] 20% [Working] 
>             Reading package lists... 0% Reading package lists... 0%
>             Reading package lists... 1% Reading package lists... 3%
>             Reading package lists... 3% Reading package lists... 7%
>             Reading package lists... 7% Reading package lists... 8%
>             Reading package lists... 8%Reading package lists...
>             10%Reading package lists... 10%Reading package lists...
>             10%Reading package lists... 10%Reading package lists...
>             10%Reading package lists... 10%Reading package lists...
>             10%Reading package lists... 10%Reading package lists...
>             31%Reading package lists... 31%Reading package lists...
>             52%Reading package lists... 52%Reading package lists...
>             60%Reading package lists... 60%Reading package lists...
>             61%Reading package lists... 72%Reading package lists...
>             72%Reading package lists... 72%Reading package lists...
>             72%Reading package lists... 73%Reading package lists...
>             73%Reading package lists... 73%Reading package lists...
>             73%Reading package lists... 76%Reading package lists...
>             76%Reading package lists... 79%Reading package lists...
>             79%Reading package lists... 81%Reading package lists...
>             81%Reading package lists... 81%Reading package lists...
>             81%Reading package lists... 81%Reading package lists...
>             81%Reading package lists... 81%Reading package lists...
>             81%Reading package lists... 84%Reading package lists...
>             84%Reading package lists... 86%Reading package lists...
>             86%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 87%Reading package lists...
>             87%Reading package lists... 89%Reading package lists...
>             89%Reading package lists... 91%Reading package lists...
>             91%Reading package lists... 93%Reading package lists...
>             93%Reading package lists... 93%Reading package lists...
>             93%Reading package lists... 93%Reading package lists...
>             93%Reading package lists... 93%Reading package lists...
>             93%Reading package lists... 95%Reading package lists...
>             95%Reading package lists... 96%Reading package lists...
>             96%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... 97%Reading package lists...
>             97%Reading package lists... Done
> 
>             Building dependency tree... 0%Building dependency tree...
>             0%Building dependency tree... 1%Building dependency tree...
>             50%Building dependency tree... 50%Building dependency
>             tree      
> 
>             Reading state information... 0%Reading state information...
>             0%Reading state information... Done
> 
>             3 packages can be upgraded. Run 'apt list --upgradable' to
>             see them.
> 
>             paul at rivendell $ apt list --upgradable
> 
>             Listing... 0%Listing... 0%Listing... 1%Listing... Done
> 
>             python-laditools/xenial,xenial 1.1.0-2 all [upgradable from:
>             1.0.1-2]
> 
>             python-oauthlib/xenial,xenial 1.0.3-1 all [upgradable from:
>             0.6.1-1]
> 
>             python-openssl/xenial-updates,xenial-updates,xenial-security,xenial-security
>             0.15.1-2ubuntu0.2 amd64 [upgradable from: 0.13-2ubuntu6]
> 
>             paul at rivendell $ sudo apt upgrade -y
> 
>             Reading package lists... 0%Reading package lists...
>             100%Reading package lists... Done
> 
>             Building dependency tree... 0%Building dependency tree...
>             0%Building dependency tree... 50%Building dependency tree...
>             50%Building dependency tree      
> 
>             Reading state information... 0%Reading state information...
>             0%Reading state information... Done
> 
>             Calculating upgrade... 0%Calculating upgrade...
>             10%Calculating upgrade... Done
> 
>             Some packages could not be installed. This may mean that you
>             have
> 
>             requested an impossible situation or if you are using the
>             unstable
> 
>             distribution that some required packages have not yet been
>             created
> 
>             or been moved out of Incoming.
> 
>             The following information may help resolve the situation:
> 
>              
> 
>             The following packages have unmet dependencies:
> 
>             python-enum : Conflicts: python-enum34 but 1.1.2-1 is to be
>             installed
> 
>             E: Broken packages
> 
>             paul at rivendell $ sudo dist-upgrade -y
> 
>             sudo: dist-upgrade: command not found
> 
>             paul at rivendell $ sudo dist-upgrade -y
> 
>             Reading package lists... 0%Reading package lists...
>             100%Reading package lists... Done
> 
>             Building dependency tree... 0%Building dependency tree...
>             0%Building dependency tree... 50%Building dependency tree...
>             50%Building dependency tree      
> 
>             Reading state information... 0%Reading state information...
>             0%Reading state information... Done
> 
>             Calculating upgrade... 0%Calculating upgrade...
>             10%Calculating upgrade... Done
> 
>             The following packages were automatically installed and are
>             no longer required:
> 
>               python-blinker python-cffi-backend python-ipaddress python-jwt
> 
>             Use 'sudo apt autoremove' to remove them.
> 
>             The following packages have been kept back:
> 
>               python-laditools python-oauthlib python-openssl
> 
>             0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
> 
>             paul at rivendell $ sudo do-release-upgrade
> 
>             Checking for a new Ubuntu release
> 
>             Please install all available updates for your release before
>             upgrading.
> 
>             paul at rivendell $ exit
> 
>              
> 
>             Script done on Wed 16 Jan 2019 08:38:20 PM EST
> 
>              
> 
>             *From:* ubuntu-studio-users
>             <ubuntu-studio-users-bounces at lists.ubuntu.com
>             <mailto:ubuntu-studio-users-bounces at lists.ubuntu.com>> *On
>             Behalf Of *webmaster at jtbadn.com <mailto:webmaster at jtbadn.com>
>             *Sent:* Wednesday, January 16, 2019 9:11 AM
>             *To:* Ubuntu Studio Users
>             <ubuntu-studio-users at lists.ubuntu.com
>             <mailto:ubuntu-studio-users at lists.ubuntu.com>>
>             *Subject:* Re: [ubuntu-studio-users] Offer to upgrade failed
> 
>              
> 
>             Heya Paul,
> 
>              
> 
>                  It sounds like there were some upgrades that hadn’t
>             been processed yet.
> 
>              
> 
>             sudo apt update  
> 
>             sudo apt upgrade -y 
> 
>             sudo dist-upgrade -y
> 
>               
> 
>             At the run those command you should be able to do the
> 
>              
> 
>             sudo do-release-upgrade
> 
>              
> 
>             Best of luck to you!
> 
>              
> 
>             Respectfully, 
> 
>              
> 
>             Joshua T. Sieber
> 
>              
> 
> 
>             On Jan 16, 2019, at 7:43 AM, <sciguy at vex.net
>             <mailto:sciguy at vex.net>> <sciguy at vex.net
>             <mailto:sciguy at vex.net>> wrote:
> 
>                 I have tried the command “sudo do-release-upgrade", and
>                 it wanted me to do an upgrade first. I did one through
>                 the software updater. After an initial upgrade, it
>                 reported “all packages are up to date.”
> 
>                  
> 
>                 Do-release-upgrade still wanted me to update my packages
>                 first. With the package updater, I got the names of
>                 three packages that were “blocked from update”.
> 
>                  
> 
>                 On the
> 
> 
> 
> 
>                 command line, this is what I got when I tried to remove
>                 the “blocked” packages:
> 
>                  
> 
>                 Script started on Wed 16 Jan 2019 07:00:48 AM EST
> 
>                 paul at rivendell: ~paul rivendell~ $ sudo do-release-upgrade
> 
>                 [sudo] password for paul:
> 
>                 Checking for a new Ubuntu release
> 
>                 Please install all available updates for your release
>                 before upgrading.
> 
>                 paul at rivendell: ~paul rivendell~ $ apt-get remove
>                 python-laditools-1.1..
> 
>                 E: Could not open lock file /var/lib/dpkg/lock-frontend
>                 - open (13: Permission denied)
> 
>                 E: Unable to acquire the dpkg frontend lock
>                 (/var/lib/dpkg/lock-frontend), are you root?
> 
>                 paul at rivendell: ~paul rivendell~ $ apt-get remove
>                 python-laditools-1.1.0-2
> 
>                 Reading package lists... 0%
> 
>                 Reading package lists... 100%
> 
>                 Reading package lists... Done
> 
>                 Building dependency tree... 0%
> 
>                 Building dependency tree... 0%
> 
>                 Building dependency tree... 50%
> 
>                 Building dependency tree... 50%
> 
>                 Building dependency tree      
> 
>                 Reading state information... 0%
> 
>                 Reading state information... 0%
> 
>                 Reading state information... Done
> 
>                 E: Unable to locate package python-laditools-1.1.0-2
> 
>                 E: Couldn't find any package by glob
>                 'python-laditools-1.1.0-2'
> 
>                 E: Couldn't find any package by regex
>                 'python-laditools-1.1.0-2'
> 
>                 paul at rivendell: ~paul rivendell~ $ apt remove
>                 python-oauthlib-1.0.3-1
> 
>                 Reading package lists... 0%
> 
>                 Reading package lists... 100%
> 
>                 Reading package lists... Done
> 
>                 Building dependency tree... 0%
> 
>                 Building dependency tree... 0%
> 
>                 Building dependency tree... 50%
> 
>                 Building dependency tree... 50%
> 
>                 Building dependency tree      
> 
>                 Reading state information... 0%
> 
>                 Reading state information... 0%
> 
>                 Reading state information... Done
> 
>                 E: Unable to locate package python-oauthlib-1.0.3-1
> 
>                 E: Couldn't find any package by glob
>                 'python-oauthlib-1.0.3-1
> 
>                 E: Couldn't find any package by regex
>                 'python-oauthlib-1.0.3-1
> 
>                 paul at rivendell: ~paul rivendell~ $ sudo apt remove
>                 python-openssl-0.15.1-2ubuntu0.2
> 
>                 Reading package lists... 0%
> 
>                 Reading package lists... 100%
> 
>                 Reading package lists... Done
> 
>                 Building dependency tree... 0%
> 
>                 Building dependency tree... 0%
> 
>                 Building dependency tree... 50%
> 
>                 Building dependency tree... 50%
> 
>                 Building dependency tree      
> 
>                 Reading state information... 0%
> 
>                 Reading state information... 0%
> 
>                 Reading state information... Done
> 
>                 E: Unable to locate package python-openssl-0.15.1-2ubuntu0.2
> 
>                 E: Couldn't find any package by glob
>                 'python-openssl-0.15.1-2ubuntu0.2
> 
>                 E: Couldn't find any package by regex
>                 'python-openssl-0.15.1-2ubuntu0.2
> 
>                 paul at rivendell: ~paul rivendell~ $ exit
> 
>                  
> 
>                 Script done on Wed 16 Jan 2019 07:06:30 AM EST
> 
>                  
> 
>                 This is all I have. Let me know if this helps.
> 
>                  
> 
>                 Paul
> 
>                  
> 
>                 *From:* ubuntu-studio-users
>                 <ubuntu-studio-users-bounces at lists.ubuntu.com
>                 <mailto:ubuntu-studio-users-bounces at lists.ubuntu.com>>
>                 *On Behalf Of *Ross Gammon
>                 *Sent:* Monday, January 14, 2019 2:41 PM
>                 *To:* ubuntu-studio-users at lists.ubuntu.com
>                 <mailto:ubuntu-studio-users at lists.ubuntu.com>
>                 *Subject:* Re: [ubuntu-studio-users] Offer to upgrade failed
> 
>                  
> 
>                 Hi Paul,
> 
>                 There are some instructions for upgrading from 16.04 &
>                 17.10 to 18.04 here (which seems to be what you have done):
> 
>                 https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Upgrading_from_Ubuntu_16.04_LTS_or_17.10
> 
>                 As you have hit errors, it might be better to follow the
>                 Ubuntu Server update instructions and do a
>                 "sudo do-release-upgrade" on the command line. Then it
>                 might be easier to copy and paste any error messages on
>                 an email to the list.
> 
>                 There are places you can retrieve the apt logs, but you
>                 probably won't need to if the error is obvious to us here.
> 
>                 Regards,
> 
>                 Ross
> 
>                 On 14/01/2019 11:58, sciguy at vex.net
>                 <mailto:sciguy at vex.net> wrote:
> 
>                     Hi,
> 
>                      
> 
>                     I am using Ubuntu Studio 16.04.xx, and I noticed
>                     that I was offered, through the “software updater”,
>                     an opportunity to upgrade to the next LTS version. I
>                     cliked the button that said “Update …”, and all the
>                     window does is disappear, with no further response.
>                     I have tried this several times.
> 
>                      
> 
>                     I have had what I call minor problems with the
>                     software updater in the past, where it would say
>                     that update has failed for some unknown reason, I
>                     dutifully click “send report”, but in fact, the
>                     system was updated, but for a few Python packages
>                     which look old, and “blocked” from update.
> 
>                      
> 
>                     It appears as if the “minor” problems may be causing
>                     update to fail. I cannot find any system log that
>                     tells me what crashed, although I managed to read
>                     one of my reports that Software Updater would send,
>                     and I remember seeing a message that apt had crashed
>                     (I recall it was apt and not aptd). I did not see
>                     information there that gave a reason.
> 
>                      
> 
>                     Paul King
> 
> 
> 
> 
> 
> 
>                 -- 
>                 ubuntu-studio-users mailing list
>                 ubuntu-studio-users at lists.ubuntu.com
>                 <mailto:ubuntu-studio-users at lists.ubuntu.com>
>                 Modify settings or unsubscribe at:
>                 https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
> 
>             -- 
>             ubuntu-studio-users mailing list
>             ubuntu-studio-users at lists.ubuntu.com
>             <mailto:ubuntu-studio-users at lists.ubuntu.com>
>             Modify settings or unsubscribe at:
>             https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
> 
>         -- 
>         ubuntu-studio-users mailing list
>         ubuntu-studio-users at lists.ubuntu.com
>         <mailto:ubuntu-studio-users at lists.ubuntu.com>
>         Modify settings or unsubscribe at:
>         https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
> 
>     -- 
>     ubuntu-studio-users mailing list
>     ubuntu-studio-users at lists.ubuntu.com
>     <mailto:ubuntu-studio-users at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
> 
> 




More information about the ubuntu-studio-users mailing list