Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194228

Re: apt{-cache,-get,itude} show wrong version of package after update

From Mark Fletcher <mark27q1@gmail.com>
Newsgroups linux.debian.user
Subject Re: apt{-cache,-get,itude} show wrong version of package after update
Date 2018-03-28 00:50 +0200
Message-ID <vy5zH-2uZ-1@gated-at.bofh.it> (permalink)
References <vy134-7tp-7@gated-at.bofh.it> <vy134-7tp-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 27, 2018 at 07:50:03PM +0200, Jean-Baptiste Thomas wrote:
> After apt-get update, attempting to install ntp tries to
> download version 1:4.2.8p10+dfsg-3+deb9u1 and fails. It tries
> to download +deb9u1 because
> 
>   $ aptitude show ntp
>   Package: ntp
>   Version: 1:4.2.8p10+dfsg-3+deb9u1
>   State: not installed
>   [...]
> 
> and it fails because the version of the package in the Debian 9
> mirror listed in /etc/apt/sources.list is +deb9u2 :
> 
>   ntp_4.2.8p10+dfsg-3+deb9u2_amd64.deb
> 
> I don't understand what went wrong. apt-get update seemed to go
> well, only complaining about missing "DEP-11 64x64 Icons", which
> are presumably not a vital part of ntp.
> 
> How is this possible ? I'm confused.

I'm not sure if you really did what it sounds like you did here, but if 
you did... you can't mix and match commands to apt-get and aptitude.

You did apt-get update so you need to use apt-get upgrade, or 
dist-upgrade, or whatever the apt-get command is (I don't much use 
apt-get, have switched to the apt command since upgrading to stretch).

If you want to use aptitude upgrade, or dist-upgrade, or safe-upgrade, 
or whatever the command is (embarrassingly I have forgotten, I used 
aptitude for years _before_ upgrading to stretch) you need to first do 
aptitude update.

apt-get update followed by aptitude upgrade will lead to pain.

Hope that helps

Mark

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

apt{-cache,-get,itude} show wrong version of package after update Jean-Baptiste Thomas <cau2jeaf1honoq@laposte.net> - 2018-03-27 20:00 +0200
  Re: apt{-cache,-get,itude} show wrong version of package after  update Abdullah Ramazanoglu <ar018@yahoo.com> - 2018-03-27 20:30 +0200
    Re: apt{-cache,-get,itude} show wrong version of package after  update Abdullah Ramazanoglu <ar018@yahoo.com> - 2018-03-27 21:00 +0200
  Re: apt{-cache,-get,itude} show wrong version of package after  update Abdullah Ramazanoglu <ar018@yahoo.com> - 2018-03-27 21:30 +0200
  Re: apt{-cache,-get,itude} show wrong version of package after update Mark Fletcher <mark27q1@gmail.com> - 2018-03-28 00:50 +0200
    Re: apt{-cache,-get,itude} show wrong version of package after update <tomas@tuxteam.de> - 2018-03-28 09:40 +0200
      Re: apt{-cache,-get,itude} show wrong version of package after update Mark Fletcher <mark27q1@gmail.com> - 2018-04-06 00:40 +0200
        Re: apt{-cache,-get,itude} show wrong version of package after update David Wright <deblis@lionunicorn.co.uk> - 2018-04-06 02:40 +0200
          Re: apt{-cache,-get,itude} show wrong version of package after update Curt <curty@free.fr> - 2018-04-06 11:00 +0200
            Re: apt{-cache,-get,itude} show wrong version of package after update David Wright <deblis@lionunicorn.co.uk> - 2018-04-07 17:20 +0200
  Re: apt{-cache,-get,itude} show wrong version of package after update "John Crawley (johnraff)" <john@bunsenlabs.org> - 2018-03-28 03:10 +0200
    Re: apt{-cache,-get,itude} show wrong version of package after  update Jean-Baptiste Thomas <cau2jeaf1honoq@laposte.net> - 2018-03-28 21:10 +0200
      Re: apt{-cache,-get,itude} show wrong version of package after update songbird <songbird@anthive.com> - 2018-03-29 01:00 +0200
      Re: apt{-cache,-get,itude} show wrong version of package after update David Wright <deblis@lionunicorn.co.uk> - 2018-03-29 01:10 +0200
        Re: apt{-cache,-get,itude} show wrong version of package after  update Jean-Baptiste Thomas <cau2jeaf1honoq@laposte.net> - 2018-04-02 11:00 +0200
          Re: apt{-cache,-get,itude} show wrong version of package after update David Wright <deblis@lionunicorn.co.uk> - 2018-04-02 17:50 +0200

csiph-web