[Aptitude-devel] Bug#915246: aptitude: doesn't cope with "Repository '…' changed its 'Origin' value from 'A' to 'B'. This must be accepted explicitly before updates for this repository can be applied. […] Do you want to accept these changes and continue updating from this repository?" questions from apt.
Axel Beckert
abe at debian.org
Sun Dec 2 03:34:23 GMT 2018
Package: aptitude
Version: 0.8.11-6
Severity: normal
I just got this dialog from the aptitude TUI after updating package list
with "aptitude -u":
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
│E: Failed to download some files ▒│
│W: Failed to fetch https://deb.opera.com/opera/dists/stable/InRelease: ▒│
│W: Failed to fetch https://deb.opera.com/opera-beta/dists/stable/InRelease: ▒│
│W: Failed to fetch https://deb.opera.com/opera-snapshot/dists/stable/InRelease: ▒│
│E: Some index files failed to download. They have been ignored, or old ones used instead. ▒│
│ [ Ok ] │
└─────────────────────────────────────────────────────────────────────────────────────────────┘
With "aptitude update", it looks like this, showing more details:
Fetched 269 kB in 15s (18.2 kB/s)
E: Repository 'https://deb.opera.com/opera stable InRelease' changed its 'Origin' value from 'Opera Software ASA' to 'Opera Software AS'
E: Repository 'https://deb.opera.com/opera-beta stable InRelease' changed its 'Origin' value from 'Opera Software ASA' to 'Opera Software AS'
E: Repository 'https://deb.opera.com/opera-snapshot stable InRelease' changed its 'Origin' value from 'Opera Software ASA' to 'Opera Software AS'
E: Failed to download some files
W: Failed to fetch https://deb.opera.com/opera/dists/stable/InRelease:
W: Failed to fetch https://deb.opera.com/opera-beta/dists/stable/InRelease:
W: Failed to fetch https://deb.opera.com/opera-snapshot/dists/stable/InRelease:
E: Some index files failed to download. They have been ignored, or old ones used instead.
But with "apt update" I get this dialog (and afterwards two more)
instead of just failing package list updates:
E: Repository 'https://deb.opera.com/opera stable InRelease' changed its 'Origin' value from 'Opera Software ASA' to 'Opera Software AS'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N]
Seems as if currently aptitude doesn't have the capability to make a
dialog out of this.
Additionally, it shows less of the error message(s) in TUI mode than in
CLI mode despite it IMHO shou;dn't.
-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20181202/281ebfc4/attachment.ksh>
-------------- next part --------------
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages aptitude depends on:
ii aptitude-common 0.8.11-6
ii libapt-pkg5.0 1.8.0~alpha2
ii libboost-iostreams1.67.0 1.67.0-11
ii libboost-system1.67.0 1.67.0-11
ii libc6 2.27-8
ii libcwidget3v5 0.5.17-11
ii libgcc1 1:8.2.0-10
ii libncursesw6 6.1+20181013-1
ii libsigc++-2.0-0v5 2.10.1-1
ii libsqlite3-0 3.25.3-2
ii libstdc++6 8.2.0-10
ii libtinfo6 6.1+20181013-1
ii libxapian30 1.4.9-1
Versions of packages aptitude recommends:
ii libparse-debianchangelog-perl 1.2.0-13
ii sensible-utils 0.0.12
Versions of packages aptitude suggests:
ii apt-xapian-index 0.49
ii aptitude-doc-en [aptitude-doc] 0.8.11-6
ii debtags 2.1.5
ii tasksel 3.48
-- no debconf information
More information about the Aptitude-devel
mailing list