** Description changed: 1)Description: Ubuntu 13.10 Release: 13.10 Note: Actually Kubuntu 13.10 2)auto-apt: - Installed: 0.3.23 - Candidate: 0.3.23 - Version table: - *** 0.3.23 0 - 500 http://md.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages - 100 /var/lib/dpkg/status + Installed: 0.3.23 + Candidate: 0.3.23 + Version table: + *** 0.3.23 0 + 500 http://md.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages + 100 /var/lib/dpkg/status 3) $ sudo auto-apt update - $ sudo auto-apt updatedb + $ sudo auto-apt updatedb Both commands should update the databases 4) $ sudo auto-apt update - $ sudo auto-apt updatedb + $ sudo auto-apt updatedb Both commands output: put: 0 files, 0 entries done (xx seconds) where xx is about 10 seconds. And, no update is performed. + 5) The bug is caused by line 145 in /usr/bin/auto-apt + sed -ne 's=^[[:space:]][[:space:]]*deb[[:space:]][[:space:]]*\([^:[:space:]]*\):\([^[:space:]]*\)[[:space:]][[:space:]]*\([^[:space:]]*\)[[:space:]][[:space:]]*.*=\1 \2/dists/\3=p' | - 5) The bug is caused by line 145 in /usr/bin/auto-apt - sed -ne 's=^[[:space:]][[:space:]]*deb[[:space:]][[:space:]]*\([^:[:space:]]*\):\([^[:space:]]*\)[[:space:]][[:space:]]*\([^[:space:]]*\)[[:space:]][[:space:]]*.*=\1 \2/dists/\3=p' | - - i.e. by the two trailing spaces in the beginning ^[[:space:]][[:space:]]*deb + i.e. by the one trailing space in the beginning ^[[:space:]][[:space:]]*deb At least my /etc/apt/sources.list doesn't contain any trailing spaces, which causes the sed to return 0 sources and no update is performed by auto-apt. - 6) A workaround (or maybe a fix) is to delete those [[:space:]][[:space:]]* so the line should look like - sed -ne 's=^deb[[:space:]][[:space:]]*\([^:[:space:]]*\):\([^[:space:]]*\)[[:space:]][[:space:]]*\([^[:space:]]*\)[[:space:]][[:space:]]*.*=\1 \2/dists/\3=p' | - - Or, at least the first trailing space in case sources.list may actually - contain any trailing spaces. + 6) A workaround (or maybe a fix) is to delete the first trailing space [[:space:]] so the line should look like + sed -ne 's=^[[:space:]]*deb[[:space:]][[:space:]]*\([^:[:space:]]*\):\([^[:space:]]*\)[[:space:]][[:space:]]*\([^[:space:]]*\)[[:space:]][[:space:]]*.*=\1 \2/dists/\3=p' |
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300991 Title: auto-apt update and updatedb commands fail on 0.3.23 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/auto-apt/+bug/1300991/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
