2022-11-06 10:28:35 |
Mekaniserad Apelsin |
bug |
|
|
added bug |
2023-08-30 04:35:56 |
Launchpad Janitor |
apt (Ubuntu): status |
New |
Confirmed |
|
2023-08-30 07:20:03 |
Julian Andres Klode |
summary |
apt-patterns does not work as described in man pages |
?garbage does not work correctly in install commands |
|
2023-08-30 07:24:14 |
Julian Andres Klode |
apt (Ubuntu): importance |
Undecided |
High |
|
2023-08-30 07:24:18 |
Julian Andres Klode |
apt (Ubuntu): assignee |
|
Julian Andres Klode (juliank) |
|
2023-08-30 07:24:23 |
Julian Andres Klode |
tags |
amd64 apport-bug jammy wayland-session |
amd64 apport-bug foundations-todo jammy wayland-session |
|
2023-08-30 07:24:29 |
Julian Andres Klode |
summary |
?garbage does not work correctly in install commands |
regression: ?garbage does not work correctly in install commands |
|
2023-08-30 07:24:38 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Jammy |
|
2023-08-30 07:24:38 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Jammy) |
|
2023-08-30 07:24:38 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Mantic |
|
2023-08-30 07:24:38 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Mantic) |
|
2023-08-30 07:24:38 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Lunar |
|
2023-08-30 07:24:38 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Lunar) |
|
2023-08-30 07:24:46 |
Julian Andres Klode |
apt (Ubuntu Jammy): status |
New |
Confirmed |
|
2023-08-30 07:24:48 |
Julian Andres Klode |
apt (Ubuntu Lunar): status |
New |
Confirmed |
|
2023-08-30 07:24:51 |
Julian Andres Klode |
apt (Ubuntu Mantic): status |
Confirmed |
Triaged |
|
2023-11-20 09:05:04 |
Julian Andres Klode |
apt (Ubuntu Lunar): status |
Confirmed |
Won't Fix |
|
2023-11-20 09:05:16 |
Julian Andres Klode |
apt (Ubuntu): status |
Triaged |
Fix Committed |
|
2023-11-20 09:33:13 |
Julian Andres Klode |
apt (Ubuntu Jammy): status |
Confirmed |
Triaged |
|
2023-11-20 09:33:14 |
Julian Andres Klode |
apt (Ubuntu Mantic): status |
Triaged |
In Progress |
|
2023-11-20 09:33:19 |
Julian Andres Klode |
apt (Ubuntu Mantic): status |
In Progress |
Triaged |
|
2023-11-22 15:58:57 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Noble |
|
2023-11-22 15:58:57 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Noble) |
|
2024-01-28 20:16:15 |
Launchpad Janitor |
apt (Ubuntu Noble): status |
Fix Committed |
Fix Released |
|
2024-02-12 13:05:26 |
Julian Andres Klode |
tags |
amd64 apport-bug foundations-todo jammy wayland-session |
amd64 apport-bug jammy wayland-session |
|
2024-02-13 19:14:50 |
Julian Andres Klode |
apt (Ubuntu Mantic): status |
Triaged |
In Progress |
|
2024-02-13 19:14:52 |
Julian Andres Klode |
apt (Ubuntu Jammy): status |
Triaged |
In Progress |
|
2024-02-13 19:18:00 |
Julian Andres Klode |
description |
The awesome apt has a some wonderful tips on their EXAMPLES section (printed below). The choice of name to "garbage" might not have been the best but the function is extremely useful.
$ man apt-patterns | sed '/EXAMPLES/,/^[^ ]/!d;/^[^ ]/d'
apt remove ?garbage
Remove all packages that are automatically installed and no longer needed -
same as apt autoremove
apt purge ?config-files
Purge all packages that only have configuration files left
apt list '~i !~M (~slibs|~sperl|~spython)'
List all manually-installed packages in sections matching libs, perl, or
python.
Lets mark a package as automatically installed, and use the examples.
$ sudo apt-mark auto shotwell
shotwell set to automatically installed.
$ sudo apt remove ?garbage
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libraw20 shotwell shotwell-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libraw20 shotwell shotwell-common
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 9.806 kB disk space will be freed.
Do you want to continue? [Y/n] N
Abort.
Apt-patterns works as it should everywhere else, as far as I can see, it works wonders with ie `apt list '~g|~c'` and many other applications. I used `apt purge '~g|~c'` successfully in Ubuntu 20.04 for years, so I feel this is a regression.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apt 2.4.8
ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
Uname: Linux 5.15.0-52-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 6 10:57:52 2022
SourcePackage: apt
UpgradeStatus: Upgraded to jammy on 2022-03-26 (224 days ago) |
[Impact]
The '?garbage' pattern doesn't work with install/remove commands which is confusing, and the fix for it is trivial.
[Test plan]
Successful autopkgtest. The comprehensive test suite run as an autopkgtest has been updated in test/integration/test-apt-get-autoremove to test for the correct behavior of '?garbage' with install and remove.
[Where problems could occur]
You can see we had to tweak the test suite in a bunch of places because it relies on exact debug output format and because we now call "markandsweep" there's additional mark flags in the debug output. It's unlikely that this is a problem for others.
We have not seen regressions in noble in the past 2 weeks.
[Original bug report]
The awesome apt has a some wonderful tips on their EXAMPLES section (printed below). The choice of name to "garbage" might not have been the best but the function is extremely useful.
$ man apt-patterns | sed '/EXAMPLES/,/^[^ ]/!d;/^[^ ]/d'
apt remove ?garbage
Remove all packages that are automatically installed and no longer needed -
same as apt autoremove
apt purge ?config-files
Purge all packages that only have configuration files left
apt list '~i !~M (~slibs|~sperl|~spython)'
List all manually-installed packages in sections matching libs, perl, or
python.
Lets mark a package as automatically installed, and use the examples.
$ sudo apt-mark auto shotwell
shotwell set to automatically installed.
$ sudo apt remove ?garbage
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libraw20 shotwell shotwell-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libraw20 shotwell shotwell-common
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 9.806 kB disk space will be freed.
Do you want to continue? [Y/n] N
Abort.
Apt-patterns works as it should everywhere else, as far as I can see, it works wonders with ie `apt list '~g|~c'` and many other applications. I used `apt purge '~g|~c'` successfully in Ubuntu 20.04 for years, so I feel this is a regression.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apt 2.4.8
ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
Uname: Linux 5.15.0-52-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 6 10:57:52 2022
SourcePackage: apt
UpgradeStatus: Upgraded to jammy on 2022-03-26 (224 days ago) |
|
2024-02-13 19:19:53 |
Julian Andres Klode |
description |
[Impact]
The '?garbage' pattern doesn't work with install/remove commands which is confusing, and the fix for it is trivial.
[Test plan]
Successful autopkgtest. The comprehensive test suite run as an autopkgtest has been updated in test/integration/test-apt-get-autoremove to test for the correct behavior of '?garbage' with install and remove.
[Where problems could occur]
You can see we had to tweak the test suite in a bunch of places because it relies on exact debug output format and because we now call "markandsweep" there's additional mark flags in the debug output. It's unlikely that this is a problem for others.
We have not seen regressions in noble in the past 2 weeks.
[Original bug report]
The awesome apt has a some wonderful tips on their EXAMPLES section (printed below). The choice of name to "garbage" might not have been the best but the function is extremely useful.
$ man apt-patterns | sed '/EXAMPLES/,/^[^ ]/!d;/^[^ ]/d'
apt remove ?garbage
Remove all packages that are automatically installed and no longer needed -
same as apt autoremove
apt purge ?config-files
Purge all packages that only have configuration files left
apt list '~i !~M (~slibs|~sperl|~spython)'
List all manually-installed packages in sections matching libs, perl, or
python.
Lets mark a package as automatically installed, and use the examples.
$ sudo apt-mark auto shotwell
shotwell set to automatically installed.
$ sudo apt remove ?garbage
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libraw20 shotwell shotwell-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libraw20 shotwell shotwell-common
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 9.806 kB disk space will be freed.
Do you want to continue? [Y/n] N
Abort.
Apt-patterns works as it should everywhere else, as far as I can see, it works wonders with ie `apt list '~g|~c'` and many other applications. I used `apt purge '~g|~c'` successfully in Ubuntu 20.04 for years, so I feel this is a regression.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apt 2.4.8
ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
Uname: Linux 5.15.0-52-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 6 10:57:52 2022
SourcePackage: apt
UpgradeStatus: Upgraded to jammy on 2022-03-26 (224 days ago) |
[Impact]
The '?garbage' pattern doesn't work with install/remove commands which is confusing, and the fix for it is trivial.
[Test plan]
Successful autopkgtest. The comprehensive test suite run as an autopkgtest has been updated in test/integration/test-apt-get-autoremove to test for the correct behavior of '?garbage' with install and remove.
[Where problems could occur]
You can see we had to tweak the test suite in a bunch of places because it relies on exact debug output format and because we now call "markandsweep" there's additional mark flags in the debug output. It's unlikely that this is a problem for others.
We have not seen regressions in noble in the past 2 weeks or noble-proposed since 2023-11-23 (it was stuck for other reasons there), hence other places the code change may affect have been thoroughly exercised in the builders and autopkgtest runners.
[Original bug report]
The awesome apt has a some wonderful tips on their EXAMPLES section (printed below). The choice of name to "garbage" might not have been the best but the function is extremely useful.
$ man apt-patterns | sed '/EXAMPLES/,/^[^ ]/!d;/^[^ ]/d'
apt remove ?garbage
Remove all packages that are automatically installed and no longer needed -
same as apt autoremove
apt purge ?config-files
Purge all packages that only have configuration files left
apt list '~i !~M (~slibs|~sperl|~spython)'
List all manually-installed packages in sections matching libs, perl, or
python.
Lets mark a package as automatically installed, and use the examples.
$ sudo apt-mark auto shotwell
shotwell set to automatically installed.
$ sudo apt remove ?garbage
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libraw20 shotwell shotwell-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libraw20 shotwell shotwell-common
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 9.806 kB disk space will be freed.
Do you want to continue? [Y/n] N
Abort.
Apt-patterns works as it should everywhere else, as far as I can see, it works wonders with ie `apt list '~g|~c'` and many other applications. I used `apt purge '~g|~c'` successfully in Ubuntu 20.04 for years, so I feel this is a regression.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apt 2.4.8
ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
Uname: Linux 5.15.0-52-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 6 10:57:52 2022
SourcePackage: apt
UpgradeStatus: Upgraded to jammy on 2022-03-26 (224 days ago) |
|
2024-02-13 21:45:48 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Julian Andres Klode |
2024-02-15 13:35:19 |
Robie Basak |
apt (Ubuntu Mantic): status |
In Progress |
Fix Committed |
|
2024-02-15 13:35:21 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-02-15 13:35:22 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2024-02-15 13:35:25 |
Robie Basak |
tags |
amd64 apport-bug jammy wayland-session |
amd64 apport-bug jammy verification-needed verification-needed-mantic wayland-session |
|
2024-02-15 13:35:49 |
Robie Basak |
apt (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2024-02-15 13:35:51 |
Robie Basak |
tags |
amd64 apport-bug jammy verification-needed verification-needed-mantic wayland-session |
amd64 apport-bug jammy verification-needed verification-needed-jammy verification-needed-mantic wayland-session |
|
2024-03-18 17:55:54 |
Julian Andres Klode |
tags |
amd64 apport-bug jammy verification-needed verification-needed-jammy verification-needed-mantic wayland-session |
amd64 apport-bug jammy verification-done-mantic verification-needed verification-needed-jammy wayland-session |
|
2024-03-21 19:15:08 |
Julian Andres Klode |
tags |
amd64 apport-bug jammy verification-done-mantic verification-needed verification-needed-jammy wayland-session |
amd64 apport-bug jammy verification-done-jammy verification-done-mantic verification-needed wayland-session |
|
2024-03-21 19:15:44 |
Julian Andres Klode |
tags |
amd64 apport-bug jammy verification-done-jammy verification-done-mantic verification-needed wayland-session |
amd64 apport-bug jammy verification-done verification-done-jammy verification-done-mantic wayland-session |
|
2024-03-21 19:28:43 |
Launchpad Janitor |
apt (Ubuntu Mantic): status |
Fix Committed |
Fix Released |
|
2024-03-21 19:28:48 |
Andreas Hasenack |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2024-03-28 14:28:16 |
Launchpad Janitor |
apt (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|