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


Groups > linux.debian.user > #195228

Re: messed up release in apt

From Abdullah Ramazanoglu <ar018@yahoo.com>
Newsgroups linux.debian.user
Subject Re: messed up release in apt
Date 2018-05-01 00:30 +0200
Message-ID <vKpt0-1ZT-9@gated-at.bofh.it> (permalink)
References <vKkjE-6Ny-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 30 Apr 2018 11:49:33 -0500 Anil Duggirala said:

> Please tell me how I can locate all wrongly installed packages and
> remove them, and install correct packages from stretch-backports,

Hello Anil,

I think while Curt's dpkg/awk solution is elegant, /var/log/apt/history.log* is
more deterministic.

I would remove the jessie-backports line from sources.list, apt-get update,
then remove every package previous upgrade installed, force-reinstall (from
stretch repos) every package previous upgrade upgraded, install every package
(from stretch) previous upgrade removed, all in a single long "apt-get install"
line.

PS: It is possible to remove a package via apt-get "install" command with a
hyphen prepended to the package name.

Regards.
-- 
Abdullah Ramazanoglu

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


Thread

messed up release in apt Anil Duggirala <anilduggirala@fastmail.fm> - 2018-04-30 19:00 +0200
  Re: messed up release in apt Brian <ad44@cityscape.co.uk> - 2018-04-30 19:50 +0200
    Re: messed up release in apt Dejan Jocic <jodejka@gmail.com> - 2018-04-30 20:00 +0200
      Re: messed up release in apt Anil Duggirala <anilduggirala@fastmail.fm> - 2018-05-01 00:10 +0200
        Re: messed up release in apt Dejan Jocic <jodejka@gmail.com> - 2018-05-01 09:20 +0200
          Re: messed up release in apt Anil Duggirala <anilduggirala@fastmail.fm> - 2018-05-01 15:10 +0200
  Re: messed up release in apt Curt <curty@free.fr> - 2018-04-30 20:10 +0200
    Re: messed up release in apt Anil Duggirala <anilduggirala@fastmail.fm> - 2018-05-01 01:20 +0200
      Re: messed up release in apt Curt <curty@free.fr> - 2018-05-01 10:10 +0200
        Re: messed up release in apt Anil Duggirala <anilduggirala@fastmail.fm> - 2018-05-01 15:20 +0200
          Re: messed up release in apt Curt <curty@free.fr> - 2018-05-01 16:10 +0200
          Re: messed up release in apt David Wright <deblis@lionunicorn.co.uk> - 2018-05-01 16:30 +0200
            Re: messed up release in apt Brian <ad44@cityscape.co.uk> - 2018-05-01 19:30 +0200
              Re: messed up release in apt Anil Duggirala <anilduggirala@fastmail.fm> - 2018-05-05 23:40 +0200
          Re: messed up release in apt Jimmy Johnson <field.engineer@gmail.com> - 2018-05-01 17:00 +0200
  Re: messed up release in apt Abdullah Ramazanoglu <ar018@yahoo.com> - 2018-05-01 00:30 +0200

csiph-web