[Touch-packages] [Bug 1857018] Re: apt-get: Can not downgrade dependencies or anything with -t
Oh, I do not need to do separate marking to auto. It seems like the apt install command retains the auto status even if the auto packages are listed in command line, if the package which depends on the auto package, is installed, too. (at least with apt 1.6.12) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1857018 Title: apt-get: Can not downgrade dependencies or anything with -t Status in apt package in Ubuntu: Invalid Bug description: Only the latter command downgrades the mythtv-frontend package (after removing the PPA from /etc/apt/sources.list.d/ and running 'apt update'): $ sudo apt-get install mythtv-frontend -s -V -t bionic Reading package lists... Done Building dependency tree Reading state information... Done mythtv-frontend is already the newest version (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1). 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. $ sudo apt-get install mythtv-frontend/bionic -s -V Reading package lists... Done Building dependency tree Reading state information... Done Selected version '2:29.1+fixes.20180414.329c235-0ubuntu3' (Ubuntu:18.04/bionic [amd64]) for 'mythtv-frontend' Suggested packages: mythtv-backend (2:29.1+fixes.20180414.329c235-0ubuntu3) mythmusic (2:29.1+fixes.20180414.329c235-0ubuntu3) mythweather (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgallery (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgame (2:29.1+fixes.20180414.329c235-0ubuntu3) The following packages will be REMOVED: mythtv-dbg (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1) The following packages will be DOWNGRADED: mythtv-frontend (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1 => 2:29.1+fixes.20180414.329c235-0ubuntu3) 0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 4 not upgraded. Remv mythtv-dbg [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] Inst mythtv-frontend [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) Conf mythtv-frontend (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) I do not know, if there is a reason for the different behavior. Anyway, I want to be able to easily downgrade the depending packages, too, retaining their auto/manual status. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: apt 1.6.12 ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21 Uname: Linux 5.0.0-37-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 CurrentDesktop: XFCE Date: Thu Dec 19 16:25:51 2019 InstallationDate: Installed on 2019-05-08 (224 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1857018/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1857018] Re: apt-get: Can not downgrade dependencies or anything with -t
Well, actually I have thought a lot about this downgrading thing. I have contributed to ppa-purge and even made a PPA of that: https://launchpad.net/~jarnos/+archive/ubuntu/ppa-purge I still have to fix it to keep auto installed packages auto installed, which is not very difficult. I just thought of an alternative way to downgrade the manually installed packages of a PPA or such together with their dependencies to given distribution, but there would still be the task to remove the packages of the PPA that are not needed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1857018 Title: apt-get: Can not downgrade dependencies or anything with -t Status in apt package in Ubuntu: Invalid Bug description: Only the latter command downgrades the mythtv-frontend package (after removing the PPA from /etc/apt/sources.list.d/ and running 'apt update'): $ sudo apt-get install mythtv-frontend -s -V -t bionic Reading package lists... Done Building dependency tree Reading state information... Done mythtv-frontend is already the newest version (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1). 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. $ sudo apt-get install mythtv-frontend/bionic -s -V Reading package lists... Done Building dependency tree Reading state information... Done Selected version '2:29.1+fixes.20180414.329c235-0ubuntu3' (Ubuntu:18.04/bionic [amd64]) for 'mythtv-frontend' Suggested packages: mythtv-backend (2:29.1+fixes.20180414.329c235-0ubuntu3) mythmusic (2:29.1+fixes.20180414.329c235-0ubuntu3) mythweather (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgallery (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgame (2:29.1+fixes.20180414.329c235-0ubuntu3) The following packages will be REMOVED: mythtv-dbg (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1) The following packages will be DOWNGRADED: mythtv-frontend (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1 => 2:29.1+fixes.20180414.329c235-0ubuntu3) 0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 4 not upgraded. Remv mythtv-dbg [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] Inst mythtv-frontend [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) Conf mythtv-frontend (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) I do not know, if there is a reason for the different behavior. Anyway, I want to be able to easily downgrade the depending packages, too, retaining their auto/manual status. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: apt 1.6.12 ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21 Uname: Linux 5.0.0-37-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 CurrentDesktop: XFCE Date: Thu Dec 19 16:25:51 2019 InstallationDate: Installed on 2019-05-08 (224 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1857018/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1857018] Re: apt-get: Can not downgrade dependencies or anything with -t
"apt install foo/bar" will try to satisfy dependencies of foo from release bar if the current candidates do not satisfy the requirements. That is more a feature for going to a PPA (or backports) than leaving it and has some issues, but it exists (e.g. your downgrade has probably all dependencies satisfied by the already installed [newer] versions from the PPA). Note that downgrades are still unsupported and can break your system, so that is really not a painless action. Nobody said activating PPAs left and right is something you can or should do – or that it is easy to change your might. You probably want something like "pick all packages from PPA foo and install from bar". I think you can express something like that with the newish patterns, but note that apt doesn't really know if a package was installed from PPA foo. It guesses that if the current version is the same as the version in the PPA it was installed from there, but that isn't the same thing… -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1857018 Title: apt-get: Can not downgrade dependencies or anything with -t Status in apt package in Ubuntu: Invalid Bug description: Only the latter command downgrades the mythtv-frontend package (after removing the PPA from /etc/apt/sources.list.d/ and running 'apt update'): $ sudo apt-get install mythtv-frontend -s -V -t bionic Reading package lists... Done Building dependency tree Reading state information... Done mythtv-frontend is already the newest version (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1). 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. $ sudo apt-get install mythtv-frontend/bionic -s -V Reading package lists... Done Building dependency tree Reading state information... Done Selected version '2:29.1+fixes.20180414.329c235-0ubuntu3' (Ubuntu:18.04/bionic [amd64]) for 'mythtv-frontend' Suggested packages: mythtv-backend (2:29.1+fixes.20180414.329c235-0ubuntu3) mythmusic (2:29.1+fixes.20180414.329c235-0ubuntu3) mythweather (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgallery (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgame (2:29.1+fixes.20180414.329c235-0ubuntu3) The following packages will be REMOVED: mythtv-dbg (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1) The following packages will be DOWNGRADED: mythtv-frontend (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1 => 2:29.1+fixes.20180414.329c235-0ubuntu3) 0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 4 not upgraded. Remv mythtv-dbg [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] Inst mythtv-frontend [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) Conf mythtv-frontend (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) I do not know, if there is a reason for the different behavior. Anyway, I want to be able to easily downgrade the depending packages, too, retaining their auto/manual status. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: apt 1.6.12 ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21 Uname: Linux 5.0.0-37-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 CurrentDesktop: XFCE Date: Thu Dec 19 16:25:51 2019 InstallationDate: Installed on 2019-05-08 (224 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1857018/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1857018] Re: apt-get: Can not downgrade dependencies or anything with -t
So there is no short way to downgrade the depending packages to the versions available from the current repositories retaining packages' auto/manual install status? That is something that needs to be done, if one e.g. disables a PPA and wants to use the packages from the default repositories, instead. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1857018 Title: apt-get: Can not downgrade dependencies or anything with -t Status in apt package in Ubuntu: Invalid Bug description: Only the latter command downgrades the mythtv-frontend package (after removing the PPA from /etc/apt/sources.list.d/ and running 'apt update'): $ sudo apt-get install mythtv-frontend -s -V -t bionic Reading package lists... Done Building dependency tree Reading state information... Done mythtv-frontend is already the newest version (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1). 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. $ sudo apt-get install mythtv-frontend/bionic -s -V Reading package lists... Done Building dependency tree Reading state information... Done Selected version '2:29.1+fixes.20180414.329c235-0ubuntu3' (Ubuntu:18.04/bionic [amd64]) for 'mythtv-frontend' Suggested packages: mythtv-backend (2:29.1+fixes.20180414.329c235-0ubuntu3) mythmusic (2:29.1+fixes.20180414.329c235-0ubuntu3) mythweather (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgallery (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgame (2:29.1+fixes.20180414.329c235-0ubuntu3) The following packages will be REMOVED: mythtv-dbg (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1) The following packages will be DOWNGRADED: mythtv-frontend (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1 => 2:29.1+fixes.20180414.329c235-0ubuntu3) 0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 4 not upgraded. Remv mythtv-dbg [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] Inst mythtv-frontend [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) Conf mythtv-frontend (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) I do not know, if there is a reason for the different behavior. Anyway, I want to be able to easily downgrade the depending packages, too, retaining their auto/manual status. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: apt 1.6.12 ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21 Uname: Linux 5.0.0-37-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 CurrentDesktop: XFCE Date: Thu Dec 19 16:25:51 2019 InstallationDate: Installed on 2019-05-08 (224 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1857018/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1857018] Re: apt-get: Can not downgrade dependencies or anything with -t
Related Bug #107221 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1857018 Title: apt-get: Can not downgrade dependencies or anything with -t Status in apt package in Ubuntu: Invalid Bug description: Only the latter command downgrades the mythtv-frontend package (after removing the PPA from /etc/apt/sources.list.d/ and running 'apt update'): $ sudo apt-get install mythtv-frontend -s -V -t bionic Reading package lists... Done Building dependency tree Reading state information... Done mythtv-frontend is already the newest version (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1). 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. $ sudo apt-get install mythtv-frontend/bionic -s -V Reading package lists... Done Building dependency tree Reading state information... Done Selected version '2:29.1+fixes.20180414.329c235-0ubuntu3' (Ubuntu:18.04/bionic [amd64]) for 'mythtv-frontend' Suggested packages: mythtv-backend (2:29.1+fixes.20180414.329c235-0ubuntu3) mythmusic (2:29.1+fixes.20180414.329c235-0ubuntu3) mythweather (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgallery (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgame (2:29.1+fixes.20180414.329c235-0ubuntu3) The following packages will be REMOVED: mythtv-dbg (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1) The following packages will be DOWNGRADED: mythtv-frontend (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1 => 2:29.1+fixes.20180414.329c235-0ubuntu3) 0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 4 not upgraded. Remv mythtv-dbg [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] Inst mythtv-frontend [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) Conf mythtv-frontend (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) I do not know, if there is a reason for the different behavior. Anyway, I want to be able to easily downgrade the depending packages, too, retaining their auto/manual status. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: apt 1.6.12 ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21 Uname: Linux 5.0.0-37-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 CurrentDesktop: XFCE Date: Thu Dec 19 16:25:51 2019 InstallationDate: Installed on 2019-05-08 (224 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1857018/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1857018] Re: apt-get: Can not downgrade dependencies or anything with -t
The behaviour is correct. -t changes the default release, pinning the argument to 990. This must not cause downgrades. ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1857018 Title: apt-get: Can not downgrade dependencies or anything with -t Status in apt package in Ubuntu: Invalid Bug description: Only the latter command downgrades the mythtv-frontend package (after removing the PPA from /etc/apt/sources.list.d/ and running 'apt update'): $ sudo apt-get install mythtv-frontend -s -V -t bionic Reading package lists... Done Building dependency tree Reading state information... Done mythtv-frontend is already the newest version (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1). 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. $ sudo apt-get install mythtv-frontend/bionic -s -V Reading package lists... Done Building dependency tree Reading state information... Done Selected version '2:29.1+fixes.20180414.329c235-0ubuntu3' (Ubuntu:18.04/bionic [amd64]) for 'mythtv-frontend' Suggested packages: mythtv-backend (2:29.1+fixes.20180414.329c235-0ubuntu3) mythmusic (2:29.1+fixes.20180414.329c235-0ubuntu3) mythweather (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgallery (2:29.1+fixes.20180414.329c235-0ubuntu3) mythgame (2:29.1+fixes.20180414.329c235-0ubuntu3) The following packages will be REMOVED: mythtv-dbg (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1) The following packages will be DOWNGRADED: mythtv-frontend (2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1 => 2:29.1+fixes.20180414.329c235-0ubuntu3) 0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 4 not upgraded. Remv mythtv-dbg [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] Inst mythtv-frontend [2:30.0+fixes.201912012038.a27754a~ubuntu18.04.1] (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) Conf mythtv-frontend (2:29.1+fixes.20180414.329c235-0ubuntu3 Ubuntu:18.04/bionic [amd64]) I do not know, if there is a reason for the different behavior. Anyway, I want to be able to easily downgrade the depending packages, too, retaining their auto/manual status. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: apt 1.6.12 ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21 Uname: Linux 5.0.0-37-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 CurrentDesktop: XFCE Date: Thu Dec 19 16:25:51 2019 InstallationDate: Installed on 2019-05-08 (224 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1857018/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp