Trying to upgrade to 20.04 from 18.04, the upgrade failed with: ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'  When I checked for broken packages using synaptic no broken packages were found.
2011
I am not sure what caused this error, but here is what the whole error says, and also this is sitting as a notification, and preventing me from updating any software using Update Manager - Please provide some assistance or tell me how to figure out what to do to fix it.  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.'
123285
What happens if there is a security problem in a package in the universe repository four years after the 12.04 LTS release; will the package be updated from upstream, patched, or left alone?  It's my understanding that the "5 years of support &amp; security updates" applies only to the core of Ubuntu -- anything in Main repository.  Not for things in the Universe repository.    For a more specific example -- if I install Ruby now, and want to use it for the next several years on 12.04 and it has a security vulnerability; while this might be patched in the upstream (so I could always download the latest from their website and compile it myself or use a PPA), will this upstream fix be migrated into the precise package repositories? What about backports?
15711
Because of  I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package.   How can this be achieved?
1521
I was running an upgrade with the apt-get command, and it was taking an exceptionally long time because half way through my ISP hit me in the face with their fair usage policy.   After sitting outside &amp; watching the rain for awhile my electronics regained consciousness, so I went back to complete the upgrade and my terminal scolds me with   "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."   The last bit of legible info was all this:  Installing (ri/RDoc) documention for (stuff and such) ERROR:  Could not find a valid gem 'watobo-0.9.8.724.gem' (&gt;= 0) in any repository rm: cannot remove `watobo-0.9.8.724.gem': No such file or directory  Setting up metasploit (4.3.0-bt1) ... Upgrading Pre-Existing Installation... /opt/metasploit/postgresql/scripts/ctl.sh : postgresql  (pid 1191) already running prosvc is running metasploit is running [*] [*] Attempting to update the Metasploit Framework... [*]   So on it goes for miles, talking about gem caches, rubies, &amp; stuff I wish I had. All up until:  A    lib/gemcache/ruby/1.9.1/gems/state_machine-1.1.2/gemfiles/active_record-2.1.2.gemfile.lock   ...and there it has sat, all night.    If I stop it, will I still get the dpkg error (on the off chance that I won't), or if so what do I need to to resume using apt-get commands and its Super Cow Powers?
72041
Whenever I use   sudo apt-get upgrade   I am getting these errors:  Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following packages will be REMOVED:   linux-image-4.15.0-46-generic 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 8,311 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 256191 files and directories currently installed.) Removing linux-image-4.15.0-46-generic (4.15.0-46.49) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.15.0-46-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 8: /etc/default/grub: 4: not found run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-4.15.0-46-generic (--remove):  installed linux-image-4.15.0-46-generic package post-removal script subprocess returned error exit status 1 Errors were encountered while processing:  linux-image-4.15.0-46-generic E: Sub-process /usr/bin/dpkg returned an error code (1)   Output of cat /etc/default/grub:  # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT= 4 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"
7284
I'm getting the following error message when attempting to install libglew-dev,  Reading package lists... Done Building dependency tree        Reading state information... 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 to resolve the situation:  The following packages have unmet dependencies:  libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (&gt;= 0.91.8) but it is not going to be installed                    Depends: libcogl15 (&gt;= 1.15.8) but it is not going to be installed  libcheese7 : Depends: libclutter-gst-2.0-0 (&gt;= 0.10.0) but it is not going to be installed               Depends: gstreamer1.0-clutter but it is not going to be installed  libclutter-1.0-0 : Depends: libcogl-pango15 (&gt;= 1.15.8) but it is not going to be installed                     Depends: libcogl15 (&gt;= 1.15.8) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   All those packages are however apparently already installed.  I have tried all possible solutions in  post, without any luck. I have not added any PPAs. The version of ubuntu is 14.04.2.  I have looked at similar posts, and tried the following:  Running  dpkg --get-selections | grep hold   prints nothing.  sudo apt-get -oDebug::pkgProblemResolver=true install -f   Gives me nothing of interest, 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2558
When I try to sudo apt-get upgrade I get:  Preconfiguring packages ... dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2)   What should I do to fix it?
100226
Everything was working fine just yesterday. Today I wanted to update and it failed with the following error:  Pakketlijsten worden ingelezen... Fout! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_i18n_Translation-en E: De pakketlijsten of het statusbestand konden of niet ontleed, of niet geopend worden.   I got Dutch localisation, so I'll try to transate here.. (hopefully it makes sense..)   first line: Reading package list... error! Last line: The packagelist or the status file couldn't be parsed or opened.   Does someone know what happened and how I can correct this issue?
85552
I am performing an update and its failing on the following:  The repository 'http://ppa.launchpad.net/izx/askubuntu/ubuntu xenial Release' does not have a Release file..   Running a local Ubuntu server 16.04
31702
How can I downgrade a package to an older version via apt-get?  Other tools are also acceptable but apt-get is preferred.
34562
Last night I was updating my Ubuntu 10.04 to either 11.04 or 12.04 (I'm not entirely sure which one it was, but I think it was 11.04) and I left it overnight to finish. When I came down in the morning, I noticed that the computer hadn't barely begun installing the updates! The update thing said that my computer was on the installation step, but it was still preparing the libc bin (or whatever its called) . It's like the first part of the step installing the upgrades. So, I stupidly restarted the computer, and when it rebooted, I got five options on a purple screen:  Ubuntu, with Linux 3.0.0-28-generic Ubuntu, with Linux 3.0.0-28-generic (recovery mode) Previous Linux versions Memory test (memtest86+) Memory test (memtest86+, serial console 115200)   Long story short, not matter which way I enter Ubuntu to try and reinstall the updates using the root thing (it's like terminal) after I enter sudo apt-get update it basically said it failed to fetch every url link, and it then says:  W: Some index files have failed to download. They have been ignored, or old ones used instead. W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.   So, I entered sudo dpkg --configure -a, and it says:  dpkg: error: unable to access dpkg status area: Read-only file system"   I'm left like wtf, and I really just some guidance here. I just got this laptop, and I can not afford a new one if I broke this one.
98149
As of 8/2 I'm still unable to upgrade from 16.04 to 18.04 using the do-release-upgrade command. Still "No new release found." I don't remember it ever taking this long before. And I'd rather not use -d , cause I want to stay on the LTS.  I know they said it'd be a few days, but it's been like a week.. Was there an unexpected delay or something?
63803
When I try to install any software, I encounter this error, and therefore I cannot update.  Preconfiguring packages ... dpkg: error: parsing file '/var/lib/dpkg/status' near line 51245 package 'oracle-xe':  mixed non-coinstallable and coinstallable package instances present N: Ignoring file 'gcl' in directory '/etc/apt/sources.list.d/' as it has no filename extension N: Ignoring file 'gcl' in directory '/etc/apt/sources.list.d/' as it has no filename extension E: Sub-process /usr/bin/dpkg returned an error code (2)
55281
I decided to update to Oneiric using the update manager. At some point, I got this message:     The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).   Then, later on:     The upgrade has completed but there were errors during the upgrade process.   What can I do?  EDIT: Update manager offers to perform a 'Partial Upgrade'. "865 updates have been selected. The updates have already been downloaded, but not installed". It still gives the option to upgrade to 11.10
68758
I am getting error while using sudo apt-get upgrade stating:  dpkg: error processing libgfortran3:amd64 (--configure):   package libgfortran3:amd64 is not ready for configuration   cannot configure (current status `half-installed') Errors were encountered while processing:   libgfortran3:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)   It does not seem to block the installation/upgrade other applications. I believe this problem arose due to direct shutting down of my PC while the application was being upgraded.  How can I fix this?
25029
I just finished backing up my system and when I try to upgrade to Utopic Unicorn, I get the error "Cannot Calculate the upgrades." I ran the upgrade by sudo apt-get dist-upgrade, sudo do-release-upgrade after the GUI method failed, they all gave the same error.  The feedback gives some recommendations:  This can be caused by:  * Upgrading to a pre-release version of Ubuntu  * Running the current pre-release version of Ubuntu  * Unofficial software packages not provided by Ubuntu    I am not upgrading to a pre-release version nor coming from one, I'm going from Ubuntu 14.04 LTS to 14.10. I have no broken packages and I have unchecked all my non-official software sources in the 'Software &amp; Updates' manager.  My guess left is the Unofficial software packages not provided by Ubuntu. If anyone could give any help as to how to check for unofficial packages using Synaptic or another, my appreciation.  Are there any other factors that may be causing this error and how would I go about checking/fixing those?  Thanks.  Edit: I have no broken or held packages. Everything is up-to-date, and restarting everything or anything has no effect.
24696
Been trying to install git-core package for almost more than half a day now. Every time I do, I get this error:  dpkg: error: parsing file '/var/lib/dpkg/available' near line 0: newline in field name `../../../../../share/pyshared/UpdateManager/Core/__init__.py'   I've also tried running sudo apt-get update and sudo apt-get install --fix-missing. Even tried rebooting and cleaning the apt-get cache, still doesnt work.