[Bug 1942182] Re: apt-cache-ng is taking 100% cpu

2021-10-12 Thread Eduard Bloch
Please upgrade to Debian Stable version, 3.6.4-1 . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942182 Title: apt-cache-ng is taking 100% cpu To manage notifications about this bug go to: https:/

[Bug 1788001] Re: Wrong permission for /etc/apt-cacher-ng

2018-08-21 Thread Eduard Bloch
Really? $ ls /etc/apt-cacher-ng/ -ld drwxr-xr-x 3 root root 4096 Jul 4 20:34 /etc/apt-cacher-ng/ It has all the permissions it needs to read the files. You might have something more fishy in the system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 1694121] Re: "apt-get source" fails for ..asc files

2017-05-29 Thread Eduard Bloch
It works for me, so no, it's not the same bug. If you have something and want it to have fixed, please report what you are really observing rather than a guessed reference to some issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1681225] Re: package apt-cacher-ng 0.9.1-1ubuntu1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

2017-04-14 Thread Eduard Bloch
A-Ha. Did you try to haxor the configuration under the hood in the past? Like creating "apt-cacher-ng" user profile manually? Or moving the folder around without adjusting permissions? Or other hocus-pocus with links/symlinks/mounts and permissions? -- You received this bug notification because

[Bug 1659021] Re: Please backport openssl 1.0.2g-1ubuntu4.5 from xenial

2017-03-11 Thread Eduard Bloch
Debian Jessie backports have more recent OpenSSL, why should this not be possible for Ubuntu? ** Also affects: apt-cacher-ng (Ubuntu) Importance: Undecided Status: New ** No longer affects: apt-cacher-ng (Ubuntu) -- You received this bug notification because you are a member of Ubuntu

[Bug 1596693] Re: OpenSSL 1.0.2 for trusty

2017-03-10 Thread Eduard Bloch
But you do realize that all versions prior to 1.0.2 are PITA to code developers? I.e. the hostname validation, the very basic feature, needs to be implemented with creepy hacks for OpenSSL before 1.0.2. https://wiki.openssl.org/index.php/Hostname_validation -- You received this bug notification

[Bug 1661199] Re: Apt-cacher-ng fails on https repo

2017-02-02 Thread Eduard Bloch
Please reopen this as a bug against APT. There is a detailed HTTP status message and not a mere 403 code. The application should display it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661199 Title

[Bug 1635029] Re: apt-cacher-ng in yakkety lacks distkill.pl

2016-10-20 Thread Eduard Bloch
Right, and at least the last part can be automated. Since this is all web stuff, there could be a link on the main control page called like "Update indexes and show distro removal overview". Actually, using a special link for this is something that should exist anyway. Because ATM the expiration t

[Bug 1635029] Re: apt-cacher-ng in yakkety lacks distkill.pl

2016-10-20 Thread Eduard Bloch
I remember vaguely that it has been dropped in favor of the new deletion assistant on the expiration page (scroll down the log page after running expiration task). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

[Bug 1625928] Re: Apt-Cacher can not deliver package, caused by (maybe) special characters in filename

2016-09-22 Thread Eduard Bloch
Well, ok, I checked the code. It's a bit too messy at the moment WRT encoded and unencoded URLs. It should be refactored and for cases where no re-encoding is needed, it could pass-through the original URL no matter which crap was exactly hidden there. -- You received this bug notification becaus

[Bug 1625928] Re: Apt-Cacher can not deliver package, caused by (maybe) special characters in filename

2016-09-22 Thread Eduard Bloch
I think it's a bug of Akamai. ACNG does reeencode the URL which was sent back in the intermediate redirect response - however, this is basically legal URL encoding, no magic done there. Simple HTTP clients would use the URL from redirect response as-is and therefore never trigger that condition. M

[Bug 1589178] Re: RFE: provide a mechanism to delete duplicates after import

2016-06-05 Thread Eduard Bloch
Log or didn't happen. Duplication is not uncommon and happens with Debian when a Distro is accessed either via alias ("stable") or via codename of that directory or when a mirror has symlinks and users use different paths in their sources.list . Therefore, the archive analysis code identifies the

[Bug 1589231] Re: RFD: better handling of the Packages files

2016-06-05 Thread Eduard Bloch
Ehm... this is basically what the smart update code has been doing for the most part of the last five years. It has been broken for Debian Sid/Experimental archives since about March of this year, and the version 0.9.3 (available since a about a week) is supposed to solve this. There will be more

[Bug 1440293] Re: acng returns incorrect information (200 instead of 404)

2016-06-05 Thread Eduard Bloch
Ehm, sorry for fingerpointing. I need to take a break after dealing with such unintuitive tool like curl. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1440293 Title: acng returns incorrect informat

[Bug 1440293] Re: acng returns incorrect information (200 instead of 404)

2016-06-05 Thread Eduard Bloch
Sorry, I just made the same mistake as you did and forgot --fail option. There is no guarantee about return code if --fail is missing, RTFM! (I am keen on that fact because acng uses sometimes 404 pages to carry relevant information for different purposes which might be confused when someone uses

[Bug 1440293] Re: acng returns incorrect information (200 instead of 404)

2016-06-05 Thread Eduard Bloch
Seems to be a curl bug. See: http_proxy="localhost:3142" strace -s 4098 curl http://archive.ubuntu.com/dists/trusty/InRelease ... sendto(4, "GET http://archive.ubuntu.com/dists/trusty/InRelease HTTP/1.1\r\nHost: archive.ubuntu.com\r\nUser-Agent: curl/7.47.0\r\nAccept: */*\r\nProxy-Connection: K

[Bug 1581780] Re: package apt-cacher-ng 0.9.1-1ubuntu1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

2016-05-14 Thread Eduard Bloch
Please uninstall apt-cacher and try again. Might be a port collision. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1581780 Title: package apt-cacher-ng 0.9.1-1ubuntu1 failed to install/upgrade: le

[Bug 1507953] Re: cacher mangles release notes queries when set as proxy

2016-02-28 Thread Eduard Bloch
The latest version 0.9.1 should solve it, at least partly (I tested the release notes view in the graphical installation). The stylesheets of that page are missing since I didn't have time to investigate the fetching of that data properly but the content itself should be ok. -- You received this

[Bug 1509176] Re: do-release-upgrade crashes immediately with apt-cacher-ng proxy

2016-02-28 Thread Eduard Bloch
I released version 0.9.1 today to Debian with the fixes mentioned above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509176 Title: do-release-upgrade crashes immediately with apt-cacher-ng proxy

[Bug 1509176] Re: do-release-upgrade crashes immediately with apt-cacher-ng proxy

2016-02-25 Thread Eduard Bloch
Actually, no, I don't agree on "Confirmed → Invalid". The stupid kind of crashing is something you still need to deal with. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509176 Title: do-release-up

[Bug 1509176] Re: do-release-upgrade crashes immediately with apt-cacher-ng proxy

2016-02-24 Thread Eduard Bloch
Ok, I made some adaptions on the current HEAD which makes, at least for me, make do-release-upgrade work properly. If anyone volunteers to test, try this: git clone https://alioth.debian.org/anonscm/git/apt-cacher-ng/apt-cacher-ng.git ... git checkout debian/sid dpkg-buildpackage -us -uc (install

[Bug 1548468] Re: [suggestion] apt-cacher ubuntu release names

2016-02-22 Thread Eduard Bloch
And fifth, for those who care: I don't know about upgrading to willy, but at least a clean installation of 14.04 is possible with the latest version, and I can even click there around to see the changelog. https://anonscm.debian.org/cgit/apt-cacher-ng/apt-cacher-ng.git/tree/ChangeLog?h=upstream/si

[Bug 1548468] Re: [suggestion] apt-cacher ubuntu release names

2016-02-22 Thread Eduard Bloch
They are hardly related. One is a bug of installer (crashing, wtf?) and was actually for apt-cacher (wtf?) and not acng . The other one is something I would like to solve in a more generic approach. Third one is the first one (wtf?). First: Adding an extra package with just one config line sounds

[Bug 1533375] Re: error during attempt to upgrade tofrom 14.04.3 to 14.10

2016-02-22 Thread Eduard Bloch
I.e. please read apt-cacher.log and report where it fails. If you want to test a fix quickly, add a pattern via VfilePatternEx config. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533375 Title: er

[Bug 1533375] Re: error during attempt to upgrade tofrom 14.04.3 to 14.10

2016-02-22 Thread Eduard Bloch
Nonsense. ACNG is not helped by adding a long list of some filenames here and there. It is helped if you would PLEASE read the manual about debugging and stuff and let me know which funny path/location the Ubuntu guys invented THIS time so I can add more generic regex for that. -- You received th

[Bug 1547431] Re: Does not allow appstream files

2016-02-21 Thread Eduard Bloch
It is the correct repository and far from being ancient. You just need to focus on the right branch, see debian/gbp.conf for details. I will add some Vcs links though. Actually I thought I already had done that before and never bothered to review debian/control in the last couple of years :-). --

[Bug 1548092] [NEW] Fails to fetch packages in proxy-only environment

2016-02-21 Thread Eduard Bloch
Public bug reported: Hi, I have a bug report from an Ubuntu user who tries to install with netboot installer in a LAN behind a proxy (i.e. no direct internet access). Source: probably http://cdimage.ubuntu.com/netboot/14.04/ The installation works fine in the first steps, you can switch to exper

[Bug 1547431] Re: Does not allow appstream files

2016-02-19 Thread Eduard Bloch
Ancient version. There is a fix in Debian. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1547431 Title: Does not allow appstream files To manage notifications about this bug go to: https://bugs.lau

[Bug 334761] Re: update-manager -d fails when using apt-cacher-ng

2016-01-09 Thread Eduard Bloch
Dear Maddes, I am sorry to tell you that you wasted your time because you failed to RTFM. The configuration directory of apt-cacher-ng is /etc /apt-cacher-ng and not /etc/apt-cacher. In case you wanted to report a problem in apt-cacher, please report there and not here. I think I have seen the pro

[Bug 1512780] Re: apt-cacher-ng can't be installed on xenial

2015-11-03 Thread Eduard Bloch
I have no idea. What's the UID of that user? Maybe something messed up with your passwd file? The permission change is forcibly applied, I don't see why it could break, and even if, that would be root:root, not some weirduser:weirdgroup. # be sure about that even if the user messed it up fo

[Bug 1507953] Re: cacher mangles release notes queries when set as proxy

2015-10-22 Thread Eduard Bloch
echo VfilePatternEx:.*ubuntu.dists.*html > /etc/apt-cacher-ng/temp_fix.conf And restart the service. This is a stop-gap solution. Remove that conf file later when the pattern is added to the regular list. -- You received this bug notification because you are a member of Ubuntu Bugs, which is sub

Re: [Bug 1279021] Re: CacheDir setting ignored

2015-10-22 Thread Eduard Bloch
Hallo, * Allison Ryan Lortie [Thu, Oct 22 2015, 12:09:47PM]: > Same bug here and, indeed: > > zz_debconf.conf:CacheDir: /var/cache/apt-cacher-ng # default or > overridden since '/var/cache/apt-cacher-ng' directory didn't exist > > I spent more time than I care to admit tracking this problem down

[Bug 1368919] Re: QT5 compatibility

2015-09-10 Thread Eduard Bloch
The fork is what Debian Unstable has, Ubuntu LTS does not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1368919 Title: QT5 compatibility To manage notifications about this bug go to: https://bugs.

[Bug 1279021] Re: CacheDir setting ignored

2015-07-15 Thread Eduard Bloch
And what's inside /etc/apt-cacher-ng/zz_debconf.conf ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1279021 Title: CacheDir setting ignored To manage notifications about this bug go to: https://bu

[Bug 1123493] Re: support of symbolic links for apt-cacher-ng

2015-04-12 Thread Eduard Bloch
See above. acng does NOT run with root permissions. Giving it a directory which is only writeable for root is not a very clever idea. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123493 Title: sup

[Bug 1441127] [NEW] Cowardly resets the keyboard layout to US in background

2015-04-07 Thread Eduard Bloch
Public bug reported: Description:Ubuntu 14.04.2 LTS Release:14.04 im-config (0.24-1ubuntu4.1) language-selector-selector-gnome (0.129.3) Scenario: I have an XUbuntu LTS 12 installation, upgraded to the latest 14.xx LTS. I don't longer use xfce but icewm. Repro steps and what happe

[Bug 1078224] Re: apt-cacher-ng does not allow .o files to be downloaded

2015-04-04 Thread Eduard Bloch
Ok... since I have no idea about the rules of that files' storage I will just add .o type to the volatile set. See acng git, upstream/sid branch. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1078224

[Bug 888017] Re: apt-cacher-ng crashes on maint if BAD file found

2015-04-04 Thread Eduard Bloch
Sorry for commenting late, this sounds like https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=752255 . There is a workaround in recent versions but it only ensures a controlled termination and relies on the init system to restart the daemon. The proper solution is fixing the hardware to not prod

[Bug 1437878] Re: RFD: how to deal with recursive folders

2015-03-31 Thread Eduard Bloch
Uhm, not sure I want to deal with this very specific issue. I see two options, either hardcode the extra URLs in the mirror list (with 1-2 extra levels). Or add some flag or global option meaning: "strip duplicated path components named like xxx". Or maybe even 2.5 options, i.e. make the last one m

[Bug 227733] Re: Mirror list is incomplete

2015-03-31 Thread Eduard Bloch
Ok, I see. I am not sure whether this can be achieved without collateral damage. That means, the idea of mirrors in a mirrors list is to refer to mirrors with identical contents. Handling partial mirrors is complicated because apt has different interpretations of a "404 Not Found" response. I adde

[Bug 993426] Re: adding a PPA key in pbuilder fails

2015-03-31 Thread Eduard Bloch
It looks like a regular REST call so the probably easiest fix would be to extend the regex matching the volatile data URLs. If you have a recent version, add something like VfilePatternEx: /pks/lookup.op.get and for an older version, add a modified version of VfilePattern, maybe something like:

[Bug 1358883] Re: Cache fails to save files correctly when using archive.ubuntu.com

2015-03-31 Thread Eduard Bloch
It does have offline mode (has been there almost from the start). What I don't understand is the exact action behind "priming the cache". The explanation also does not make sense - in offline mode, it wouldn't attempt to make an online connection so it would not know that the size differs. If I fi

[Bug 1279021] Re: CacheDir setting ignored

2014-12-23 Thread Eduard Bloch
Maybe you messed up the permissions of the CONFIG files so your changed setting just cannot be read? Try this: sudo -u apt-cacher-ng apt-cacher-ng debug=7 foreground=1 port=3 And watch the messages. If there is still the old setting visible at the end, add "strace -o /tmp/acng.log" between ap

[Bug 1402801] Re: apt-cacher-ng keeps parsing metadata forever at 100% CPU

2014-12-16 Thread Eduard Bloch
Sorry, cannot reproduce. Please send the defect (?) file. And 0x7FFD is a valid timestamp! I just doubt that we will live that long. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1402801

[Bug 1342890] Re: apt-cacher-ng spuriously recommends avahi-daemon

2014-07-18 Thread Eduard Bloch
It should have been closed with 0.7.27-1, I closed another LP bug by mistake, sorry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1342890 Title: apt-cacher-ng spuriously recommends avahi-daemon To

[Bug 1342890] Re: apt-cacher-ng spuriously recommends avahi-daemon

2014-07-16 Thread Eduard Bloch
I will do so in the next release for Debian/Unstable. IMHO: feel free to change for latest LTS, too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1342890 Title: apt-cacher-ng spuriously recommends

Re: [Bug 1034392] Re: download very slow

2014-03-29 Thread Eduard Bloch
Hallo, * Robert Sander [Thu, Mar 27 2014, 08:53:33AM]: > The problem does not exist when packages are served from the cache. > > The problem ist when the package to be installed is not in the cache of > apt-cacher-ng and needs to be downloaded. This is very slow and way > below the possible speed

[Bug 1034392] Re: download very slow

2014-03-27 Thread Eduard Bloch
A couple of days ago I have seen a similar problem with Debian Unstable's apt. It reported "Downloading... 50kb/s" (on a 100mbit link). I watched the network, apt-cacher-ng was done transferring the file and apt's http client was also finished. But the stupid thing still reported slow data transfer

[Bug 1259191] Re: Bug#736579: marked as done (apt-cacher-ng: warning about incomplete gentoo support)

2014-03-23 Thread Eduard Bloch
reopen 736579 tags 736579 +pending thanks Hallo, * Debian Bug Tracking System [Sun, Mar 23 2014, 12:06:12PM]: > Your message dated Sun, 23 Mar 2014 12:03:27 + > with message-id > and subject line Bug#736579: fixed in apt-cacher-ng 0.7.26-1 > has caused the Debian Bug report #736579, > regardi

Re: [Bug 1259191] Re: gentoo_mirrors.gz is corrupt

2014-03-23 Thread Eduard Bloch
Hallo, * Rolf Leggewie [Sun, Mar 23 2014, 12:34:45PM]: > Here's what I get in trusty > > $ sudo service apt-cacher-ng restart > * Restarting apt-cacher-ng apt-cacher-ng > > WARNING: No URL

[Bug 1279021] Re: CacheDir setting ignored

2014-02-14 Thread Eduard Bloch
Which upgrade? 0.7.24 or 0.7.25? .24 might have had a problem but .25 should be alright (just tested, cannot reproduce). Otherwise... provide logs, provide configs, or it didn't happen. And about "read up"... Lol, just automating debconf somehow by the usual manuals (which only deal with easy sing

[Bug 1279021] Re: CacheDir setting ignored

2014-02-11 Thread Eduard Bloch
Reading NEWS.Debian for you: apt-cacher-ng (0.7.24-1) unstable; urgency=low * Starting with version 0.7.23-1, there is a new sequence of Debconf dialogs for basic settings (CacheDir, Port, Proxy and BindAdresses). They are stored in an additional *.conf file overriding the settings fro

[Bug 1086253] Re: expiration task fails

2013-12-20 Thread Eduard Bloch
I could change the current description text (the auth realm), replacing "Apt-Cacher NG administration area" with "Restricted Activity, read the docs about AdminAuth". Would this help? But I am not sure whether browsers would display this text correctly, the password prompt window might be not big

[Bug 1254441] Re: ftp.debian.com is missing from the mirrors file

2013-11-25 Thread Eduard Bloch
Nope, not a big miss. https://www.google.com/search?q="ftp.debian.com"; results fit on two pages. No idea where people got this archive URL from but definitely not from official documentation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 1086253] Re: expiration task fails

2013-11-24 Thread Eduard Bloch
Well... there is this section in README.Debian, is it not good enough? SECURITY See apt-cacher-ng manual for details. On Debian systems, the file /etc/apt-cacher-ng/security.conf is installed which contains security related options (but it can be in any other *.conf file as well). Curren

[Bug 1234946] Re: "Size mismatch" caused by writing wrong data

2013-10-04 Thread Eduard Bloch
Well... could you tell me (exactly) which version of acng is in use there? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234946 Title: "Size mismatch" caused by writing wrong data To manage notifi

[Bug 1222820] Re: update-manager urls are not marked as volatile

2013-09-14 Thread Eduard Bloch
Maybe there is a bug, maybe not? Maybe you start sending in some information which REALLY helps reproducing this behavior? Like: your client's sources.list your server's apt-cacher-ng's configuration files if possible, a wireshark IP traffic dump made on your server monitoring data traffic to th

[Bug 1194754] Re: apt-cacher-ng gets error reading Steam repository

2013-06-26 Thread Eduard Bloch
Please also check /var/cache/apt-cacher- ng/repo.steampowered.com/steam/dists/precise/steam/binary- amd64/Packages.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194754 Title: apt-cacher-ng gets

[Bug 1185547] Re: Removing package fails to remove user

2013-05-29 Thread Eduard Bloch
** Patch added: "Little postrm modification to work without adduser tools" https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1185547/+attachment/3690184/+files/use_passwd_tools.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 1185547] Re: Removing package fails to remove user

2013-05-29 Thread Eduard Bloch
It does already but only if deluser tool is available. However, this is a minor bug because normally it does not hurt even if the user account remains on the system. Why this you might ask? Because the installation normally does not fail since it's a system user account. Unless... somebody (YOU?)

[Bug 1123493] Re: support of symbolic links for apt-cacher-ng

2013-02-14 Thread Eduard Bloch
PEBCAK, please close. User failing to RTFM and/or to compare process owner and folder permissions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1123493 Title: support of symbolic links for apt-cach

[Bug 1020995] Re: apt-cacher-ng doesn't support mirror:// protocol

2012-12-27 Thread Eduard Bloch
Sorry? Don't set it to duplicate because that bugs have a different nature. apt-file is a frontend tool which sneaks information from apt's configuration making blind assumptions about its interface. apt-cacher- ng is middle-layer. The origin of this bug is IMHO the failure to retrieve the mirrors

[Bug 1006844] Re: apt-cacher-ng and EL6 repos

2012-12-05 Thread Eduard Bloch
I don't mind if Ubuntu guys patch it as you wish but for my personal taste this change is a bit too unsafe. You just cannot know what's there in the output of this cgi script. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bug

[Bug 1018723] Re: apt-cacher-ng just as slow as apt-cacher

2012-06-28 Thread Eduard Bloch
The fetcher implementation are quite different, you cannot compare them. Please describe exactly your observation or your definition of "slow". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1018723 Ti

[Bug 998937] Re: apt-cacher-ng not running at boot up

2012-05-24 Thread Eduard Bloch
This report only makes sense IF you configured BindAddress manually to use a specific interface AND if some bug in init system attempted to start apt-cacher-ng before the interface is up AND something in the init system has hidden the resulting error message from you. I don't see what I can do

[Bug 999915] Re: High CPU usage on broken request to apt-cacher-ng

2012-05-15 Thread Eduard Bloch
The attached patch should prevent your daemon from looping. Why it actually happened in first place is hard to tell, but with this change the error message should be returned to client ASAP and you can check again. ** Patch added: "stop_looping.diff" https://bugs.launchpad.net/ubuntu/+source/a

[Bug 983128] Re: Please provide a way to prevent If-Range header use

2012-04-16 Thread Eduard Bloch
Maybe not so far as you think, it's the first report of such kind (in almost five years). IMHO not supporting If-Range correctly is an utterly stupid idea. It's like replacing red light bulbs with green ones in traffic lights and say: hey, it's good enough, it will be correct most of the time. I

[Bug 227733] Re: Mirror list is incomplete

2012-03-06 Thread Eduard Bloch
Pong. No idea, tell me some details. Your http://ports.ubuntu.com/ubuntu link is a 404 page. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/227733 Title: Mirror list is incomplete To manage notifica

[Bug 940166] Re: apt-cacher-ng crashes with segfault (libpthread-2.12.1.so)

2012-02-24 Thread Eduard Bloch
*** This bug is a duplicate of bug 833970 *** https://bugs.launchpad.net/bugs/833970 Please update and retest, see https://bugs.launchpad.net/ubuntu/+source /apt-cacher-ng/+bug/833970 for details. ** This bug has been marked a duplicate of bug 833970 apt-cacher-ng crashed with SIGSEGV in s

[Bug 899988] Re: cdcat - pack and add new version deb to repository

2011-12-05 Thread Eduard Bloch
The problems are the new dependencies, see README. p7zip source: http://dfn.dl.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_src_all.tar.bz2 lib7zip (>= 1.4.1): http://code.google.com/p/lib7zip/downloads/detail?name=lib7zip-1.4.1.tar.gz&can=3&q= mediainfo: http://mediainfo.sourceforge.

[Bug 888017] Re: apt-cacher-ng crashes on maint if BAD file found

2011-11-14 Thread Eduard Bloch
You are right, I confused something. See http://packages.ubuntu.com/search?keywords=apt-cacher-ng . I guess it can be installed without other dependencies but I am not sure, and I am not an Ubuntu guy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 888017] Re: apt-cacher-ng crashes on maint if BAD file found

2011-11-14 Thread Eduard Bloch
According to comment #4 you are already tracking oneiric. So... maybe just dist-upgrade? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/888017 Title: apt-cacher-ng crashes on maint if BAD file found

[Bug 888017] Re: apt-cacher-ng crashes on maint if BAD file found

2011-11-13 Thread Eduard Bloch
Counter-question... why don't you test the latest version? Some suspicious things in the expiration code were improved in 0.6.7. precise (net): caching proxy server for software repositories [universe] 0.6.8-2build1: amd64 i386 -- You received this bug notification because you are a member of Ub

[Bug 888017] Re: apt-cacher-ng crashes on maint if BAD file found

2011-11-09 Thread Eduard Bloch
So there are many corrupted files? How to you start the expiration job? Are you sure that you don't have broken RAM or some disk damage? Please provide crashdumps (generated by apport, see https://wiki.ubuntu.com/Apport for details). -- You received this bug notification because you are a memb

[Bug 872365] Re: Add a setting to consider lists (for "apt-get update") to be fresh for a given period

2011-10-11 Thread Eduard Bloch
Yes, it was about MAXTEMPDELAY (it's already converted to acfg::maxtempdelay in my local branch). Selecting an option name is always complicated, it should not contain "expir" or "rott" to avoid further confusion. But "max-age" sounds familiar, let's call it FreshIndexMaxAge: ... -- You receive

[Bug 872365] Re: Add a setting to consider lists (for "apt-get update") to be fresh for a given period

2011-10-11 Thread Eduard Bloch
This feature does already exist, the current "consider rotten after X seconds" value is hardcoded to 27 seconds. I just need to assign an option name to the config parser. Any suggestions? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubunt

[Bug 334761] Re: update-manager -d fails when using apt-cacher-ng

2011-10-09 Thread Eduard Bloch
You don't need to be a guru to tell us which version you are talking about. Just use "dpkg -l apt-cacher-ng" on the server. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/334761 Title: update-manager

[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()

2011-10-06 Thread Eduard Bloch
Right, init script is a good location. See https://www.gnu.org/s/libc/manual/html_node/Heap-Consistency-Checking.html#Heap-Consistency-Checking for details about the variable. The mentioned method would call abort() which creates a core dump. I don't know exactly how apport works but assuming th

[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()

2011-10-06 Thread Eduard Bloch
Ok, checked again, the previous assumption was a bad guess. The problem is, it looks like heap corruption but it can have happened a while before the actually crash. Maybe the tester could export MALLOC_CHECK_=2 in the startup environment so the heap corruption detection is executed. But honestly,

[Bug 225483] Re: RFE: keep the three latest versions of a package

2011-10-04 Thread Eduard Bloch
This feature was added in 0.6.7 (Debian Sid), with configurable count as "KeepExtraVersions" parameter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/225483 Title: RFE: keep the three latest versio

[Bug 649009] Re: apt-cacher-ng crashed with SIGSEGV in malloc()

2011-10-04 Thread Eduard Bloch
I assume this bug has been already fixed in 0.5.3, changelog: * FIX: total review & overhaul of the response (job) control, adding more verbose error pages and making code more uniform I remember incorrect use of temporary error strings which happened close to this SetErrorResponse call in

[Bug 765963] Re: apt-cacher-ng version 0.5.14 failed to build on i386

2011-04-19 Thread Eduard Bloch
Better mention g++-4.6 beforehand, thanks. Fix attached. ** Patch added: "stddef_for_unix_socket.diff" https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/765963/+attachment/2069724/+files/stddef_for_unix_socket.diff -- You received this bug notification because you are a member of

[Bug 638779] Re: invalid memory access when creating HTTP error response

2010-09-15 Thread Eduard Bloch
Only 0.5.4-1: amd64 i386 is affected. The bug was added in apt-cacher-ng (0.5.3) ALPHA; urgency=low and fixed in apt-cacher-ng (0.5.5) BETA; urgency=low -- invalid memory access when creating HTTP error response https://bugs.launchpad.net/bugs/638779 You received this bug notification becaus

[Bug 638779] Re: invalid memory access when creating HTTP error response

2010-09-15 Thread Eduard Bloch
0.5.6-1 is ok. It's not http://bugs.debian.org/593356 . It's hardly a security issue (in fact, if the attacker compromises a Debian/Ubuntu mirror there are much worse things she can do to the clients). -- invalid memory access when creating HTTP error response https://bugs.launchpad.net/bugs/63

[Bug 227733] Re: Mirror list is incomplete

2010-09-15 Thread Eduard Bloch
Hi, it gets the list from http://www.iana.org/domains/root/db (see Makefile). But .JA is not a valid TLD AFAICS. OTOH the update code also scans https://launchpad.net/ubuntu/+archivemirrors but ja.archive... is not listed there either. So, if you add it somewhere there and rebuild the mirror list

[Bug 638779] Re: invalid memory access when creating HTTP error response

2010-09-15 Thread Eduard Bloch
** Patch added: "inv_mem_access.diff" https://bugs.launchpad.net/bugs/638779/+attachment/1587354/+files/inv_mem_access.diff -- invalid memory access when creating HTTP error response https://bugs.launchpad.net/bugs/638779 You received this bug notification because you are a member of Ubuntu

[Bug 638779] [NEW] invalid memory access when creating HTTP error response

2010-09-15 Thread Eduard Bloch
Public bug reported: Binary package hint: apt-cacher-ng Hi, as simple as that, the code that generates HTTP error response (like 404 pages) reads a string from an object which becomes invalidated somewhere inbetween. The problem remained undiscovered because an optimized build does not show th

[Bug 629163] Re: apt-cacher-ng thread memory leak

2010-09-02 Thread Eduard Bloch
** Patch added: "apt-cacher-ng-0.5.x_thread_mem_leak_fix.diff" https://bugs.launchpad.net/bugs/629163/+attachment/1538289/+files/apt-cacher-ng-0.5.x_thread_mem_leak_fix.diff -- apt-cacher-ng thread memory leak https://bugs.launchpad.net/bugs/629163 You received this bug notification because

[Bug 629163] [NEW] apt-cacher-ng thread memory leak

2010-09-02 Thread Eduard Bloch
Public bug reported: Binary package hint: apt-cacher-ng Hey guys, I just saw that Maverick is gone beta but you still may want to fix a memory leak which is present in the current version of apt-cacher-ng. To solve that, either get the version from Debian Experimental (IMO the better choice) or

[Bug 622726] Re: apt-cacher-ng assert failure: *** glibc detected *** /usr/sbin/apt-cacher-ng: double free or corruption (fasttop): 0x086aac88 ***

2010-08-23 Thread Eduard Bloch
IMHO dupe of 585957. Maybe fixed in 0.5.x releases, maybe not. Still waiting for feedback... -- apt-cacher-ng assert failure: *** glibc detected *** /usr/sbin/apt-cacher-ng: double free or corruption (fasttop): 0x086aac88 *** https://bugs.launchpad.net/bugs/622726 You received this bug notificat

[Bug 608418] Re: No disconnect initiated from server side

2010-07-21 Thread Eduard Bloch
** Patch added: "Extract fix for Debian bug #589630" http://launchpadlibrarian.net/52281101/acng_disconnect_fix.diff -- No disconnect initiated from server side https://bugs.launchpad.net/bugs/608418 You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 608418] [NEW] No disconnect initiated from server side

2010-07-21 Thread Eduard Bloch
Public bug reported: Binary package hint: apt-cacher-ng Here comes a hint from apt-cacher-ng upstream... because of a programming mistake, the versions 0.4.8 and 0.4.9 fail to disconnect the client when the peer has set Connection:close flag but waits for server to do the first step. The problem

[Bug 602593] Re: option on import to not replace current packages

2010-07-08 Thread Eduard Bloch
a) Yes, I am not paid and the stuff you request sounds like not enough fun to compensate the invested efforts b) You talk about "very often" and about "backups reasons" in the same context. Heh? Your task is not related to backup at all, maybe somehow to the "restore". But in common sense, a "re

[Bug 602593] Re: option on import to not replace current packages

2010-07-07 Thread Eduard Bloch
What's the point? The "replacing" is already done via hardlink creation if the files are on the same filesystem. I.e. the operation is quite cheap. Checking file contents is the expensive part but this cannot be avoided (easily). -- option on import to not replace current packages https://bugs.

[Bug 596452] Re: apt-cacher-ng ftbfs in maverick

2010-06-21 Thread Eduard Bloch
No need, it's already in the works... -- apt-cacher-ng ftbfs in maverick https://bugs.launchpad.net/bugs/596452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubunt

[Bug 596075] Re: apt-cacher-ng should allow *.ddeb files

2010-06-18 Thread Eduard Bloch
Looks ok, will be integrated upstream. -- apt-cacher-ng should allow *.ddeb files https://bugs.launchpad.net/bugs/596075 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://li

[Bug 530524] Re: RFE: please allow for exclusion of caching for certain domains (doc improvement pending, 0.4.5-1)

2010-05-23 Thread Eduard Bloch
Oh sorry, I misread "caching for certain domains" as "caching of certain domains"... Actually, that's a good idea. I think we should use regular expressions, there you can set a filter to the beginning of the string (i.e. the Domain name you wanted), or some string that people put into their loca

[Bug 557316] Re: /etc/apt-cacher-ng/backends_debian should have a default entry for debian

2010-05-10 Thread Eduard Bloch
Really? I just nuked the backends_debian file and after restart of acng... it still worked, just as requested in this task! Could you try something? Put "Debug=5" into the first line (!) of acng.conf and restart with the init script. And show the output. Mine is: # /etc/init.d/apt-cacher-ng resta

[Bug 557316] Re: /etc/apt-cacher-ng/backends_debian should have a default entry for debian

2010-05-10 Thread Eduard Bloch
Heh, I shouldn't look in the dev branch when looking for the version. Try 0.4.7 ;-) -- /etc/apt-cacher-ng/backends_debian should have a default entry for debian https://bugs.launchpad.net/bugs/557316 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 398998] Re: ftp.debian.org should be part of deb_mirrors

2010-05-10 Thread Eduard Bloch
This is supposed to be fixed in 0.4.8, test packages: https://www.unix- ag.uni-kl.de/~bloch/acng/ubuntu/ -- ftp.debian.org should be part of deb_mirrors https://bugs.launchpad.net/bugs/398998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

  1   2   >