[Bug 2064905] Re: Dubious output when using regex with apt-cache search

2024-05-06 Thread David Kalnischkies
Note the remark ", including virtual package names." in the manpage. bindgen-0.65 has a "Provides: bindgen" (with a version), so it has (also) the virtual package name "bindgen" and that perfectly matches your regex. So, working as intended & documented and hence I am changing the status to

[Bug 2063003] Re: package manager could not make changes to the installed system

2024-04-21 Thread David Kalnischkies
As the requirement for reproducing is "being offline" it could be that this remove command wants to download packages, which fails. Yes, remove can install packages – specifically the problem resolver can try to fix a broken dependency by installing another provider/or-group member. Controlled by

[Bug 2061834] Re: apt build-dep . fails to parse build dependencies

2024-04-17 Thread David Kalnischkies
https://salsa.debian.org/apt- team/apt/-/commit/633f6d67a28b375cf1f225f14d3c926e618d46af ** Changed in: apt (Ubuntu) Status: New => Fix Committed ** Changed in: apt (Ubuntu) Assignee: (unassigned) => David Kalnischkies (donkult) -- You received this bug notification becau

[Bug 1988819] Re: When apt keeps back packages due to phased updates, it should list them separately

2024-04-02 Thread David Kalnischkies
Not sure who all the upstream(s) involved might be, but from my personal PoV at least you can add all the options you like… the topic gets harder if we talk defaults & changing (e.g.) the lists completely (like that tabular verbose-explosion thingy from apk or whatever it was). At some point it

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-20 Thread David Kalnischkies
jftr: I removed this if in git commit 938889b20268ec92be1bff67750f7adf03f52c1b, which was shipped with 2.1.12 – that might explain why it isn't effecting releases with later versions and why it was missed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1970110] Re: downloaded packages are removed just after installation

2022-04-24 Thread David Kalnischkies
apt 1.2~exp1 came with the follow NEWS entry: [ Automatic removal of debs after install ] After packages are successfully installed by apt(8), the corresponding .deb package files will be removed from the /var/cache/apt/archives cache directory. This can be changed by setting the apt

[Bug 1965960] Re: apt installs snap packages

2022-03-23 Thread David Kalnischkies
fwiw it is "invalid" here as apt has nothing to do with it, as it did what it is supposed to do, upgrade a package: It has no business in the contents, similar to a parcel deliverer. It is probably more productive you figure out what exactly is not working in foo.deb vs. foo.snap and report this

[Bug 1960727] Re: When apt holds back updates, it fails to inform the user of the reason

2022-02-13 Thread David Kalnischkies
Can you provide a complete (preferably real) example of what output you would expect? Honestly, I don't see this working as in the general case the reason is not simple – its at least my experience from staring at debug output for hours to figure such things out in the development branches of a

[Bug 1957781] Re: when i upgrade my package ask me yes or no ?

2022-01-14 Thread David Kalnischkies
+ Yes, "1" is a valid expression to say "yes", as is "+" – at least in my (german) locale, and perhaps in yours, too. You can check with `locale yesexpr` – the output is a regex expression. For me it prints "^[+1jJyY]" (without the quotes), so anything starting (^) with either of the characters

[Bug 1952720] Re: apt uses proxy in order to access local resources

2021-11-30 Thread David Kalnischkies
apt contacts the squid proxy (which is on your local machine) hence the ipv6 from your machine. The "Forbidden" is the reply from the proxy for the request. squid-deb-proxy hardcodes an allowlist for mirrors and sources to contact and ips that can contact the proxy. I would presume that either

[Bug 1950095] Re: [github] 20.04: Apt fails to download URLs with non-encoded querystrings

2021-11-07 Thread David Kalnischkies
"minimal potential for causing regressions" is a big claim given I had to fix regressions in later commits like 149b23c2b9697bc262c0af1934c7a3f6114d903f and 2b0369a5d1673d9e40f2af4db7677b040a26ee58. There might be more, that is just what I remember directly. It is certainly not the most

[Bug 1945093] Re: apt update command output gives gapes in row numbering

2021-09-26 Thread David Kalnischkies
> Ign:3 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease triggers the fallback to download the files Release & Release.gpg, but as the Release file (5) is a Hit apt skips the attempt to acquire Release.gpg (8) and continues on with the reverify step which doesn't emit a

[Bug 1936273] Re: apt not respecting Ignore-Files-Silently directive

2021-07-15 Thread David Kalnischkies
This is documented behavior due to in which order the various configuration places are evaluated: man apt.conf has the details at the top. In other words, you have to set Dir::Ignore-Files-Silently in a config file specified with the APT_CONFIG environment variable for it to take effect for

[Bug 1682320] Re: apt-transport-tor causes errors saying "Failed to download repository information"

2021-06-23 Thread David Kalnischkies
A package which isn't even installed can not be the cause of a problem… and you are not using a "tor+" source (which is enabled by that package). Looks for me like you would need to "apt update" as the data you have locally on your system is too old and references no longer existing files … a few

[Bug 1793495] Re: apt-transport-tor doesn't handle tor+mirror:// lines in sources.list

2021-06-23 Thread David Kalnischkies
(Probably "a bit" late, but here we go) You will have to use the slightly unwieldy "tor+mirror+http", so your example line would be: deb tor+mirror+http://mirrors.ubuntu.com/mirrors.txt bionic main restricted universe multiverse btw: apt-transport-tor is by default using a new circuit per host

[Bug 1921626] Re: apt install - File has unexpected size - http pipeline

2021-03-28 Thread David Kalnischkies
> I've attached an example log, where the error pops up for multiple packages, and they all appear to be compared to one size (86464 bytes). just for the record: This is a misunderstanding. If apt does pipelining it searches in the requests it made for the file this response is for. If no request

[Bug 1713219] Re: 'apt-mark showauto' and 'apt show' is slow

2021-03-23 Thread David Kalnischkies
No such version exists as it would be a bug. An Auto-Installed field != 1 is still possible if the section includes another field the current apt version doesn't know about and hence can't reason about. apt itself does not currently generate such stanzas, but a future version might. Or other

[Bug 1713219] Re: 'apt-mark showauto' and 'apt show' is slow

2021-03-22 Thread David Kalnischkies
Mechanical train signals used to signal if the next section is clear vs. blocked by another train used to have the arm raised if it was clear and down if not. That was so that if the mechanic would fail in some way the arm would fall down and rest in the "blocked" state rather than in a "clear"

[Bug 1919314] Re: debconf: delaying package configuration, since apt-utils is not installed

2021-03-16 Thread David Kalnischkies
The message can not be shown only if the package is going to ask questions as debconf would need to extract the questions beforehand (and find none) for that to work – but it can't do that without apt-utils. :) Not sure about the stderr vs. stdout, I guess the rational is that its more important

[Bug 1919314] Re: debconf: delaying package configuration, since apt-utils is not installed

2021-03-16 Thread David Kalnischkies
apt-utils is not required & this is not a warning (in the sense of an unimportant error), but an information why debconf isn't asking questions to configure all packages upfront at the start of the run, but will ask questions (if any) while the packages are actually installed as needed potentially

[Bug 1918930] Re: Unexpected file size of one package interrupts update process for all packages and leaves system vulnerable

2021-03-12 Thread David Kalnischkies
APT can't know how "critical" the other packages are compared to the packages which failed to download (which really shouldn't happen to begin with). I mean, if you don't (normally) use an SSH server, but hard-depend on a sublime text-editor experience… Have you tried the --fix-missing option the

[Bug 1869107] Re: Error when installing scanner deb on 20.04

2020-03-25 Thread David Kalnischkies
Without looking at the deb file, this is likely a regression of 2.0 which was fixed in the recently released 2.0.1 in Debian. Pretty sure that will eventually flow into Ubuntu as well. See the commit in question for details if you are interested: https://salsa.debian.org

[Bug 1668944] Re: The _apt user ignores group membership.

2020-02-26 Thread David Kalnischkies
Nowadays our HTTPS implementation works a few layers deeper than what I talked about three years ago, so we could similar to our auth.conf work now open all certificate (others also?) files as root before dropping rights. As that would be best implemented by someone who actually uses these

[Bug 1864623] Re: apt-get attempts to download Packages.xz which is not InRelease and does not exist

2020-02-26 Thread David Kalnischkies
The cake is a lie. --print-uris does *NOT* print the URIs an "apt update" is bound to use. It can't because it doesn't download any file and it would need to download at least the (current) InRelease file to answer that. So what it does is print the URIs it would download IF everything would

[Bug 1857018] Re: apt-get: Can not downgrade dependencies or anything with -t

2019-12-19 Thread David Kalnischkies
"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

[Bug 1825021] Re: apt's dpkgpm.cc WriteApportReport function should gather more data

2019-04-19 Thread David Kalnischkies
No idea about Ubuntu specifically, but it should be in upstream since apt 1.8.0~alpha3 release on Tue, 18 Dec 2018 15:02:11 +0100. See also: https://salsa.debian.org/apt-team/apt/merge_requests/38 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1809174] Re: apt doesn't detect file corruption in /var/lib/apt/lists

2019-01-07 Thread David Kalnischkies
Note that the file we have in lists/ is not what we downloaded as we have downloaded a highly compressed version of the content (e.g. xz), but store it either uncompressed (for which we have a checksum) or lightly compressed (e.g. lz4 for which we have no checksum and can not as different versions

[Bug 1787460] Re: Unattended upgrades removed linux-image-generic

2018-09-27 Thread David Kalnischkies
They both sound awfully "generic" (pun intended), but I can't really come up with an example for a bad match, so lets just try it I guess. That said, isn't the "deeper" problem that these metapackages can be removed easily even through they are important to keep the kernel up-to- date (and hence

[Bug 1718453] Re: apt does not download dep11 files for foreign architectures and appstream cannot find applications for these archs.

2018-01-25 Thread David Kalnischkies
apt does what it is told – appstream configures apt to download only the files for the native architecture, so there is no sensible action to be taken by apt and hence this task invalid. If "$(NATIVE_ARCHITECTURE)" in the apt.conf file shipped by appstream is changed to "$(ARCHITECTURE)" apt will

[Bug 1682320] Re: apt-transport-tor causes errors saying "Failed to download repository information"

2018-01-02 Thread David Kalnischkies
I am sorry, but with the provided details this report isn't actionable. You have run apt on the terminal so including the ENTIRE output would have been a good idea, can't do much with the hashsum mismatches – expect predicting that this is indeed some sort of problem on your end of the internet

[Bug 1740114] Re: apt-get update hangs forever trying to fetch data via a non-working IPv6 connection

2017-12-26 Thread David Kalnischkies
Thanks for your well written bugreport and a very happy Christmas to you, too, sir. Please proceed to the checkout counter and accept a full refund and our sincere apologizes. Unfortunately, I am neither a ubuntu developer, nor do I drink kool-aid apart from the seasonal appropriate hot cocoa,

[Bug 1725861] Re: APT::AutoRemove::SuggestsImportant "false" should be the default

2017-10-22 Thread David Kalnischkies
While that sounds reasonable at first in simple situations, if I follow that argument, I can find no reason why we are doing complex metapackage handling, keeping many providers and a lot of other things, so we should get right of all those, too, should we? In reality we have to deal with many

[Bug 1701852] Re: (xenial+) apt-cache fails to run if a single sources.list.d entry is not readable

2017-07-05 Thread David Kalnischkies
Regarding the bug itself: I wouldn't exactly call it a regression, but it wasn't a super-intended change either. If I see it right I "broke" it in 2015 by fixing a compiler warning, which indicated that a check which should have been since ever never applied. So, that it worked before was just as

[Bug 1694989] Re: apt-mark overwrites existing held package info

2017-06-02 Thread David Kalnischkies
Is it really /any/ which I can't confirm at the moment as holding e.g. apt & dpkg works just fine… The underlying question is: Are the packages you are trying to hold installed? If not, dpkg will accept the hold at first and record it (so apt will report it on showhold again), but as soon as the

[Bug 1687666] Re: apt-cache doesn't read keys from trusted.gpg.d when rootdir is used

2017-05-02 Thread David Kalnischkies
"apt-cache" (the commandline binary packaged in apt) never reads keys because it has no business with keys… from the "reproducer" I guess you are trying to report a problem with the python bindings? You have also omitted any other useful information like which version you are using… If you want it

[Bug 1680261] Re: apt-secure ignoring allow-unauthenticated during apt-update

2017-04-06 Thread David Kalnischkies
> The allow-unauthenticated did not downgrade all errors relating to signing to > warnings. > If it had, the apt-get update would have included the new packages and it > would find > the packages during an install command, but may not allow installation > without explicit > confirmation. The

[Bug 1680261] Re: apt-secure ignoring allow-unauthenticated during apt-update

2017-04-06 Thread David Kalnischkies
Have you read apt-secure(8) manpage as the explanatory notice (N:) attached to the *warning* message says? It explains why you see the *warnings*, that it is the propose of the switch to downgrade the *errors* to a *warning* (so that worked as intended) and it mentions how to configure that in

[Bug 1668944] Re: The _apt user ignores group membership.

2017-03-01 Thread David Kalnischkies
The recommended way is "chown _apt:root FILE && chmod 400 FILE" at the moment. Ideally we wouldn't need the chown (or have it root:root), but that isn't very realistic to be implementable without rolling our own TLS stack in the process at the moment, so we have to make due with that for now.

[Bug 1632209] Re: apt-file search says "Don't know how to handle tor+http"

2017-01-28 Thread David Kalnischkies
That used to be a shortcoming in apt-file, not a problem of apt- transport-tor (or any other transport as apt-file was using its own implementation). An apt-file release changing to utilizing apt for downloads (which in turn would us a-t-t then) was released as version 3.0, released on 28 Feb 2016

[Bug 1649086] Re: W: Invalid 'Date' entry in Release file /var/lib/apt/lists/developer.download.nvidia.com_compute_cuda_repos_ubuntu1604_x86%5f64_Release

2017-01-18 Thread David Kalnischkies
The solution is to tell the owners of the respective repositories to fix their Release file(s). The Date (and Valid-Until) field MUST be in UTC (aka GMT, Z, +). Earlier apt versions accepted other timezones silently, but parsed it as UTC anyhow which could cause all kinds of fun. Now a

[Bug 1657440] Re: apt won't redownload Release.gpg

2017-01-18 Thread David Kalnischkies
That sounds like what this commit describes: https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=84eec207be35b8c117c430296d4c212b079c00c1 Hence tagged as such as its available in the 1.4 series. Not sure if this should be backported to 1.2 or not. ** Changed in: apt (Ubuntu) Status:

[Bug 1551464] Re: apt-get sources should support TLS SNI (server name)

2016-11-19 Thread David Kalnischkies
So, how is this option named in firefox and how do you set it? ……… exactly. You don't have it as an option as servername != hostname is something you only need for experiments which is the main purpose of s_client. Firefox doesn't need that option as it is using SNI (in reality it uses a library

[Bug 1551464] Re: apt-get sources should support TLS SNI (server name)

2016-11-16 Thread David Kalnischkies
That would be horrible… If you contact a server foo.example.org it should respond with the cert for it, not with a cert for bar.example.com. That is what SNI is all about after all (as your client connects to an IP and SNI is telling the server which hostname it wanted to connect to, so the server

[Bug 1522988] Re: stdout and stderr are not synced on lines

2016-11-11 Thread David Kalnischkies
And which are the "broken error messages" then, I don't see any… ? (the messages are on the longer side, which makes it look "funny" if wrapped like it is in launchpad, but I don't see what is broken about it…) -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1522988] Re: stdout and stderr are not synced on lines

2016-11-03 Thread David Kalnischkies
Without an example nobody will ever know what you might mean. You might be meaning accidentally debug output – I that happened sometime ago, could be 1.1 and should be fixed in newer versions. Or perhaps you mean that you enabled debug output and expect it to be all orderly – not going to happen:

[Bug 1634234] Re: apt-key leaves files in /dev open after exit

2016-10-17 Thread David Kalnischkies
That isn't directly the fault of apt-key. It uses gpg which in its >= 2.0 versions has split its operations into a multitude of daemons for security reasons. The daemons should be terminating themselves a few seconds after the directory they operate in disappears. That is at least the case for

[Bug 1577926] Re: apt-key works fine, yet apt fails with "Could not execute 'apt-key'"

2016-09-07 Thread David Kalnischkies
1. Removing the _apt user is really not needed nor a good idea. Its enough to have this in a config file: APT::Sandbox::User "root"; // remove file again after testing! 2. Symlinking /usr/bin/gpgv to /bin/true will never work as verifying signatures is more involved then just checking the exit

[Bug 1616909] Re: Installing multiple dbgsym packages fails

2016-08-25 Thread David Kalnischkies
APT is using dpkg's --recursive option with a temporary directory since recently if it has to touch >5 packages to avoid producing too long commandlines for the kernel (yes, that is a thing… although unlikely it does happen in big upgrades). Seems like this interface in dpkg does support only

[Bug 1611010] Re: yakkety desktop - non-english installation crashes with /plugininstall.py: ValueError: invalid literal for int() with base 10: ''

2016-08-23 Thread David Kalnischkies
https://anonscm.debian.org/git/apt/apt.git/commit/?id=0919f1df552ddf022ce4508cbf40e04eae5ef896 ** Changed in: apt (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1613193] Re: apt-get does't work with http_proxy

2016-08-15 Thread David Kalnischkies
What type of proxy is that? Given you were using it before I presume its an HTTP proxy. Does the URI you specify has "http://; in front? Is that perhaps a public proxy? We have a test covering HTTP proxies and I have just run an upgrade myself with a SOCKS proxy so that more likely something

[Bug 1607845] Re: List of versioned kernels is not right for Ubuntu

2016-07-29 Thread David Kalnischkies
btw: "apt-cache pkgnames" should have better/quicker result than searching. Don't know what that goldfish is nor am I particular interested in cloud, but I guess they could be added if there is need/interest. Its not like there is any real cost attached to it and false positives are pretty

[Bug 1589204] Re: apt-get dist-upgrade and apt full-upgrade not reporting held back package

2016-07-27 Thread David Kalnischkies
That is a regression of sorts caused by a sleight of hand used to avoid another bug. The commit in question would be https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=446551c8ffd2c9cb9dcd707c94590e73009f7dd9 although the involved code changed in the mean time the general idea remains the

[Bug 1605160] Re: kernel autoremove not working

2016-07-21 Thread David Kalnischkies
So apt would autoremove them if it could, like it already did with the linux-image-extra packages – so I guess as before: kernel module package depending on the images perhaps via indirection (provides), probably on of the "NonfreeKernelModules: zfs zunicode zcommon znvpair zavl" (or another, I am

[Bug 1605160] Re: kernel autoremove not working

2016-07-21 Thread David Kalnischkies
Are you sure you haven't marked these kernels as manually installed somehow? Perhaps there is also something depending on them still like some installed out-of-tree kernel modules. The output of the following three commands can be helpful to figure out if apt would consider autoremoving them if

[Bug 1216426] Re: package libisofs6 1.2.4-0ubuntu1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 2

2016-07-15 Thread David Kalnischkies
well, reassigning 3 years old bugs isn't really helping anyone… especially if there are no details. Even worse if you pull a "I had a complete unrelated issue I haven't reported a couple days ago, so that years old issue here must be a bug in apt". After all, in your reasoning, if it would be a

[Bug 1598810] Re: `apt-get install python3.4` on xenial exits 0 despite python3.4 not being available

2016-07-04 Thread David Kalnischkies
(for the record: I am not defending the name->glob->regex fallback/guess as a wonderful interface… it isn't… I am defending it on the grounds that it is an interface for nearly two decades now, so changing it for apt-get would be a horrible mess breaking usercases left and right and apt-users tend

[Bug 1598810] Re: `apt-get install python3.4` on xenial exits 0 despite python3.4 not being available

2016-07-04 Thread David Kalnischkies
(srly, bugreports referring to pastebin?) Well, apts output says what is going on: As a package with that name doesn't exist and the string looks like a regex (thanks to the '.') it will search for packages matching the regex and it does find one. That is perfectly fine and established behavior

[Bug 1571370] Re: Missing option in the manpage

2016-06-20 Thread David Kalnischkies
This is intended. The intro text of the OPTIONS section mentions that for boolean options every option has a --no- option negating the effect (which happens to be right above --no-install-recommends). As --install- recommends is the default, it feels more useful to document the negation as its the

[Bug 1593583] Re: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_InRelease

2016-06-17 Thread David Kalnischkies
@dino99: Are you sure you haven't (partially) upgraded just the 'apt' package? In that case this would be expected as the "fix" is in libapt- pkg5.0 build by the apt source package – the ubuntu repository was most- recently updated in a 2-digit hour, while both PPAs were last updated in

[Bug 1593583] Re: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_InRelease

2016-06-17 Thread David Kalnischkies
This is caused by the usage of relatively new c++11 features, namely std::get_time, as described in this libstdc++6 upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71556 The Release for yakkety-proposed currently reads: "Date: Fri, 17 Jun 2016 6:30:29 UTC". Note the "6" as hour.

[Bug 1583591] Re: Removing a meta package shouldn't mark any of it's deps/recommends for autoremove

2016-05-19 Thread David Kalnischkies
This is an explicit feature – apt will mark the packages as manual if the metapackage is removed as a consequence of another package (e.g. you remove the browser the metapackage depends on, the office-suite will be marked as manual to prevent it to be removed automatically just because you don't

[Bug 1538438] Re: apt-helper crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()

2016-05-10 Thread David Kalnischkies
Could be: https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=84ac6edfabe1c92d67e8d441e04216ad33c89165 Which is a problem with the redirection handling, which would also explain why its not happening for everyone as these download servers might be doing (no) redirections based on the region

[Bug 1576960] Re: apt-mark prints ambiguous package name

2016-05-01 Thread David Kalnischkies
I presume that works (I would be using nativearch="$(dpkg --print- architecture)" through – and poking directly into info/ is discouraged. Checking exitcode of commands like 'dpkg-query -s "$1"' might be better), but note that with a "foo:all" you aren't talking about a package as packages can't

[Bug 1576960] Re: apt-mark prints ambiguous package name

2016-04-30 Thread David Kalnischkies
The names aren't ambiguous – if apt prints no architecture it is ALWAYS the native architecture. This is this way for compatibility reasons as apt hadn't previously printed any architecture – because they were all native – so old tools, scripts, processes, … sticking to the common case of

[Bug 1560797] Re: package systemd-sysv 225-1ubuntu9.1 failed to install/upgrade: libgcrypt20 was unconfigured during 15.10 to 16.04 upgrade

2016-04-13 Thread David Kalnischkies
Attached is a trivial patch [in retrospective] I just committed upstream which should fix this issue – I have only verified it by logchecking with the two status files from the buglog (again: thanks!) through, I haven't actually run it on a real system so testers welcome! That should be easily

[Bug 1560797] Re: package systemd-sysv 225-1ubuntu9.1 failed to install/upgrade: libgcrypt20 was unconfigured

2016-04-11 Thread David Kalnischkies
Thank you both for the files! A quick test suggests that both expose the problem by unpacking but not configuring libgcrypt before touching systemd. The actual produced order is quiet different through (and both systems are obviously far away from a minbase chroot – which happily does the right

[Bug 1560797] Re: package systemd-sysv 225-1ubuntu9.1 failed to install/upgrade: libgcrypt20 was unconfigured

2016-04-09 Thread David Kalnischkies
As pitti can't reproduce it with a clean system there is a good chance an "unrelated" package from a PPA or cruft from an earlier upgrade confuses apt (as far as I remember PPAs are disabled on upgrade in Ubuntu, so it can't be new "unrelated" packages at least). These bugs are everyone’s favorite

[Bug 1566657] Re: [apt] implement --yes

2016-04-07 Thread David Kalnischkies
The apt(8) manpage doesn't list any options (okay, it mentions a selected few, but it has no long list like the other manpages). It lists only subcommands like 'install' or 'show' and refers the reader to the manpage of apt-get or apt-cache or whatever for details because repeating the very

[Bug 1566657] Re: [apt] implement --yes

2016-04-06 Thread David Kalnischkies
well, apt 1.2.10 is in xenial and in that version my example works, so I fear you will need to provide a few more details like the entire output and commandline of the command you try. (it works also in earlier versions and I am relatively sure it works since the dawn of the apt-binary as its

[Bug 1565782] Re: APT doesn't respect pin-priority when using APT::Default-Release option

2016-04-06 Thread David Kalnischkies
All settings involving pinning are of the first-come-first-serve level. Adding an exception for the default-release setting to have an effect on all packages from this release "maybe" is just complicating a feature in usage, documentation and code which is already very complicated – and what makes

[Bug 1566657] Re: [apt] implement --yes

2016-04-06 Thread David Kalnischkies
Please mention the exact command you are trying as --yes is implemented in apt… e.g. "apt install sauerbraten --yes". ** Changed in: apt (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1565782] Re: APT doesn't respect pin-priority when using APT::Default-Release option

2016-04-04 Thread David Kalnischkies
This is a feature, so you can pin a release (like backports) to a low value, but raise it easily if you need to. It is also explicitly documented in the apt_preferences manpage, which also mentions a "workaround": Note that this [= the target release setting] has precedence over any general

[Bug 1558331] Re: message "The repository is insufficiently signed by key (weak digest)" is poorly worded

2016-03-25 Thread David Kalnischkies
We had the intention (#818639) but forgot it then so only zh_CN was fixed in 1.2.8 … I commited the comma-drop now [I would like to claim that this comma makes perfect sense in German but even there it is a bit strange]. -- You received this bug notification because you are a member of Ubuntu

[Bug 1558484] Re: Ubuntu 12.04: apt-get can't parse repository url if username contains @ ('at' sign)

2016-03-23 Thread David Kalnischkies
I realized that even the reporter say that in newer versions it works – so no wonder I couldn't reproduce it. I modified our basic-auth test to check for this issue specifically, so we aren't going to regress on this. The history suggests this could be fixed by

[Bug 1279776] Re: Encountered a section with no Package: header

2016-03-22 Thread David Kalnischkies
Raring is out-of-support for 2 years now (and was already unsupported at the time of the bugreport) and the report misses all sorts of details to be actionable. I guess this was a "web-portal confusing apt" issue back then, which is long fixed by now, hence opportunistically closing – if that is

[Bug 1559860] Re: [feature-request] Add clean option for apt command

2016-03-21 Thread David Kalnischkies
That is the case since at least version 1.1~exp15, so closing as done. Note that 'apt' isn't supposed to replace 'apt-get'. They can happily co-exist and should be used as needed. ** Changed in: apt (Ubuntu) Status: New => Fix Released -- You received this bug notification because you

[Bug 1558484] Re: Ubuntu 12.04: apt-get can't parse repository url if username contains @ ('at' sign)

2016-03-19 Thread David Kalnischkies
With a quick test I can't reproduce this with %40 as encoding, but I will try some more later. I would highly recommend to NOT write your authentication information in sources.list through. Beside the parsing problem you seem to encounter, you can't reasonably change the permission of the file

[Bug 589941] Re: Incorrect status of downloaded bytes while upgrading

2016-03-15 Thread David Kalnischkies
See https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=9127d7aecf01f2999a2589e4b0503288518b2927 and https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=27925d82dd0cbae74d48040363fe6f6c2bae5215 among others. Backporting of these changes itself might not be sensible, but we "backported"

[Bug 1550741] Re: Upgrade failed - unauthenticated package (module-init-tools)

2016-03-08 Thread David Kalnischkies
(as I was asked to have a look – only reviewing based on comments and code in this bug through) I guess setting the state explicit here is okay, I wonder why the package hasn't any state through – isn't that kinda normal for a package not touched at all? I also think it is wrong that

[Bug 1481871] Re: apt-key del silently fails to delete keys due to limited understanding of GPG key ID formats

2016-01-05 Thread David Kalnischkies
> Does this issue have a CVE assigned yet? Does it have a Debian bugreport yet? It has neither and it needs neither in my humble opinion. The longid issue had its own bugreport in Debian (#754436) which used the included patch (more or less) for Jessie while the 1.1 series (at that time

[Bug 1528765] Re: packages deb filename is not consistant

2015-12-23 Thread David Kalnischkies
And I don't want epochs to exist. And I want all filesystems to support ":" in filenames. And I want a million dollars and world peace – but the world doesn't work that way. apt needs to save the file with an epoch to know the difference between version 1 and version 1:1. And it has to store it

[Bug 1497534] Re: apt-get crashed with SIGSEGV in strlen()

2015-10-05 Thread David Kalnischkies
I haven't seen a crash myself, just "garbage" results (mostly apt trying to use Translation-rowf%&$ files), but in all likelihood this is the result of gcc5 changing to a c++11-compatible std::string implementation – which the previous copy-on-write implementation isn't. apt was depending on this

[Bug 1486061] Re: Long descriptions missing from apt cache - affects software-center etc

2015-09-28 Thread David Kalnischkies
The patchset applied in ubuntu for the gcc5 transition wasn't complete; I thought that it would have been synced back by now, but it seems not… – I had added a few more changes on top of Michaels changes (including the one Kiwinote referred to) to make it not only build, but also build something

[Bug 1479207] Re: Never-MarkAuto-Sections not working correctly

2015-07-29 Thread David Kalnischkies
Without verifying if these Ubuntu versions actually have my bad patch (deprecate the Section member from package struct - fixing the problem of a package changing sections basically being randomly in one of these sections) I would presume this is debbug #793360 aka: Never-Mark-Auto doesn't apply

[Bug 1477299] Re: please fix building apt using gcc-snapshot

2015-07-25 Thread David Kalnischkies
or the fix which is in the experimental branch for this issue for 2+ months now… ;) 353c135e45d3b76dbecc1ba1b2bd9266601181ee I don't think the virtual package handling CacheSetHelperAPTGet provides is really needed (nor even wanted) for download or changelog, so we can just use the default

[Bug 1464950] Re: output flushing error causing ugly output for autoremove

2015-06-14 Thread David Kalnischkies
Yeah, relatively recent in its very visible form, but a relatively old problem in its cause. Fixed in upstream git for a while, but thanks to diverting branches (abi-breakfree unstable and abi-breaking experimental) it hasn't reached a (non-experimental) release yet:

[Bug 1456479] Re: PPA info with trailing quote in /etc/apt/sources.list

2015-05-19 Thread David Kalnischkies
Thanks for the report! Unfortunately reporting it against apt is incorrect as apt itself contains no program which automatically adds PPAs or similar such. It just takes the sources.list content and interprets it. So it was either you adding this PPA by hand in which case its a user error

[Bug 1456275] Re: Feature request for APT

2015-05-18 Thread David Kalnischkies
While this sounds like a good idea at first and many users actually do it this way (= unchecked import of keys), apt can't do it for security reasons and adding it (anyway) as an option would just mean we encourage this behavior further. The signing keys of a repository ensure that the data apt

[Bug 1448917] Re: apt-get -o quiet=1 dist-upgrade isn't quiet anymore

2015-04-28 Thread David Kalnischkies
Sorry if my previous comment came across as rude, it wasn't intended as such. It was just meant as a quick reply (I was in a hurry) to clear up what is the topic of this bug as incomplete reports aren't actionable. (An incomplete bug isn't necessarily the fault of the bugreporter as someone can

[Bug 1448917] Re: apt-get -o quiet=1 dist-upgrade isn't quiet anymore

2015-04-27 Thread David Kalnischkies
About what progress reporting are we talking here? (apt has a gazillion steps which have independent progress reporting, so progress report is a tat too unspecific). If we are talking about the (Reading database in the output you attached, this isn't even coming from apt – this is coming from

[Bug 1436626] Re: aptd crashed with SIGSEGV in _IO_vfprintf_internal()

2015-04-02 Thread David Kalnischkies
The funpart to observe here is that apt is crashing while writing an apport report for an observed failure… so figure out what error it is that apt wants to report here is probably bringing you guys a lot closer to figure out what goes on… (looking at the stacktrace in the bugreport alone as I

[Bug 1429285] Re: feature request: apt-get update --if-necessary

2015-03-31 Thread David Kalnischkies
ähm, did you realize that Expires is the exact time of your request (compare Date) in your example? (See also the HTTP1.1 spec which will tell you that 'Expires' doesn't really mean what you think it does, so that the value it has is actually 'okay'). APT is using If-Modified-Since in its

[Bug 1425662] Re: apt-get download fails if /var/cache/apt/archives/partial is not accessible

2015-03-07 Thread David Kalnischkies
apt 1.1~exp4 fixes this issue (see also debbug #762898) in git commit 43acd01979039b248cb7f033b82e36d778d0ebec, so try that version then it appears in Ubuntu. Using of the root cache (if available) is at least supposed to happen in that version as well (but also in the version you have… I will

[Bug 1399037] Re: apt-get can not simulate

2015-03-07 Thread David Kalnischkies
That's a fun one… You see, back in 2013 I remodeled the commandline parsing. The point was that an option (like -s) is only accepted if the command (e.g. dselect-upgrade) supports this option. Previously e.g. apt-get would accept any option even if it only has an effect for certain commands. Very

[Bug 1369259] Re: /var/lib/apt/extended_states registers packages with the architecture all as the system architecture

2014-09-14 Thread David Kalnischkies
Not a bug. Being architecture all or architecture any is a property of the version as a package can change from any to all (and back) between versions. The stanzas in the extended file refer to all versions instead, which means that arch:all is the same as arch:native, so this is correct. Also,

[Bug 940825] Re: apt-get update reporting not acceptable

2014-08-29 Thread David Kalnischkies
Well, expect that 406 and Range have nothing to do with each other. 416 is an out-of-range request, while 406 tells us that we requested a file in a specific encoding which the server did not have. The 416 Range thing should be handled for a while now, we at least have a testcase covering it so

[Bug 1329760] Re: Database too huge to be real

2014-06-13 Thread David Kalnischkies
Sounds to good to be true, right? Well, the message is from dpkg and it is the right number as it is talking about ALL files installed on your system via a package, so this number only changes if you install/remove a package. Your system is pretty lightweight though. Mine says (in german, but

[Bug 1324915] Re: apt-cache rdepends has incorrect output

2014-06-07 Thread David Kalnischkies
* presence of '| network-manager-dbg' network-manager-dbg depends on network-manager and this dependency is or'ed, so what is wrong about that? * presence of connman (connman is a conflicts of network-manager) If we/apt talks about dependencies, we usually mean all of them as enumerating all

[Bug 1310592] Re: apt-get doesn't update lists timestamp

2014-04-21 Thread David Kalnischkies
Well, you should tell us your sources then, otherwise we wouldn't know how to reproduce. Also, the output of ls -l /var/lib/apt/lists to see the timestamps might be helpful. Note that apt isn't setting the timestamp to your last execution of apt, but to the last modification time the server

[Bug 1309658] Re: Invalid comments in debian/apt.conf.autoremove

2014-04-18 Thread David Kalnischkies
As I implemented this years ago I am obviously biased, but I think not supporting # as a comment is a mistake as sources.list and preferences support it and most other config files you come across do comments with '#'. The autokernelremove code was an external contribution and it just shows

  1   2   3   >