[Bug 1826585] Re: I can't update, upgrade or autoremove

C de-Avillez hggdh2 at ubuntu.com
Fri Apr 26 17:30:54 UTC 2019


OK. I see you have corrected the system date.

Two points here:

1. you should use 'apt full-upgrade'. There is a difference in behaviour
between 'upgrade' and 'full-upgrade'. the following is an excerpt from
'man apt':

       upgrade (apt-get(8))
           upgrade is used to install available upgrades of all packages currently installed on the system from the sources configured via sources.list(5). New packages will be installed if required to satisfy dependencies, but existing
           packages will never be removed. If an upgrade for a package requires the removal of an installed package the upgrade for this package isn't performed.

       full-upgrade (apt-get(8))
           full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole.


2. it is apt-cache, not apt-caShe. And 'apt-cache show' requires at least one package name -- see 'man apt-cache' for details.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1826585

Title:
  I can't update, upgrade or autoremove

Status in apt package in Ubuntu:
  Incomplete

Bug description:
  I can't update, upgrade or autoremove. Here is what I entered:

  randy at randy-Inspiron-518:~$ sudo apt-get update
  [sudo] password for randy: 
  Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
  Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease                     
  Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                     
  Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]   
  Reading package lists... Done                                                  
  E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease is not valid yet (invalid for another 88d 7h 34min 40s). Updates for this repository will not be applied.
  E: Release file for http://archive.canonical.com/ubuntu/dists/bionic/InRelease is not valid yet (invalid for another 437d 23h 36min 34s). Updates for this repository will not be applied.
  E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 452d 20h 40min 18s). Updates for this repository will not be applied.
  E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 452d 20h 40min 40s). Updates for this repository will not be applied.
  randy at randy-Inspiron-518:~$ sudo apt-get upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following packages have been kept back:
    linux-generic linux-headers-generic linux-image-generic
  0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  randy at randy-Inspiron-518:~$ sudo apt-get autoremove
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  randy at randy-Inspiron-518:~$ 

  You can e-mail me @ adamsonrandy at outlook.com Thanks !

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1826585/+subscriptions



More information about the foundations-bugs mailing list