apt update decides to abort on its own
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
Hi,
I saw this by accident and I'm not sure if it is a bug or if it just was a bad config.
But I wanted to report to be sure this isn't missed.
I happened to do an apt upgrade like this:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
irqbalance libcaca-dev libcaca0 libmysqlclient20 libvirt-clients libvirt-daemon libvirt-
qemu-system-mips qemu-system-misc qemu-system-ppc qemu-system-s390x qemu-system-sparc qemu-system-x86 qemu-user-static qemu-utils snapd ubuntu-
30 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 82,8 MB of archives.
After this operation, 6.298 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
The "bug" now is that thie "Abort" at the end was not my decision.
It directly went to that.
dist-upgrade did the same.
I was puzzled at first, did an `apt update` to be sure but the problem continued to trigger.
One thing that I found was that on update I saw a message like this:
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
That is correct this PPA was deleted a while ago, but that should not kill the upgrade right?
I removed the files, updated and now things are working fine:
$ sudo rm /etc/apt/
$ sudo apt update
[...]
$ sudo apt upgrade (now working)
This might be an intentional protection against "lost repos" but then there should be a better message?
I'll file it as low prio, let me know what you think.
Changed in apt (Ubuntu): | |
importance: | Undecided → Low |
Did you switch terminals in between or reset it?
Those should not be related, it sounds more like a terminal screwup. Like, sometimes, at least in gnome-terminal, it reaches a point where readline and friends fail for some reason.