apt-build generates en error message in update-manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-build (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I had made some new findings, and am rewriting the description accordingly. I'm not a developer and don't know how it works behind the surface. I'm using “trial and error” and tries find things out.
Please change anything according to your skills and needs.
WHERE IS THE BUG FOUND?
I think it is best to start here.
I have found this bug using Xubuntu, I guess the other flavors are affected in the same way.
I have found it in Xubuntu 12.04.3 Precise, and in 13.10 Saucy. Both 64-bit. It is likely that it affects Quantal and Raring likewise.
It do affect amd64 systems. It does not seem to affect i386. I tried at Lubuntu Saucy 32-bit as well, not problem. I can not explain why.
PROBLEM
In a fresh install av Xubuntu I have installed apt-build and its dependencies. During the installation it asks some questions. One of them is what architecture I want to build my applications for. I choose “native”, there is also generic and a couple of specified. Another question is about putting a line in the sources list, wich should be necessary if you want to install the compiled packages with apt. I accepted. (Sadly, I don't remember the exact words, it might be important. English is not my primary language.)
I have disabled proposed and backport repos, and after this I have updated the sources cache with the update-manager-GUI. It then showed this error message:
------------
"W:Failed to fetch file:/var/
, E:Some index files failed to download. They have been ignored, or old ones used instead."
-----------
Note that the path in the error message point at a i386-folder! (The machine is amd64.)
If I inspect the file /etc/apt/
If I use the terminal and am running apt-get update I face the same problem. In the output, there is two error messages.
–---------------
user@computer:~$ sudo apt-get update
[sudo] password for user:
Ign file: apt-build InRelease
Ign file: apt-build Release.gpg
Get:1 file: apt-build Release [107 B]
Err file: apt-build/main i386 Packages
File not found
Ign file: apt-build/main Translation-en_US
Ign file: apt-build/main Translation-en
[...]
Ign http://
Ign http://
W: Failed to fetch file:/var/
E: Some index files failed to download. They have been ignored, or old ones used instead.
user@computer:~$ sudo apt-get update > /home/user/
W: Failed to fetch file:/var/
E: Some index files failed to download. They have been ignored, or old ones used instead.
---------------
By now it is obvious that the problem is not related to the GUI.
Note that in all error messages it is asked for an i386 folder. But the line I can see in update-manager only specifies "file:/
FOLDER STRUCTURE
If I am looking in the folder "file:/
-----ls output-------
dists [folder]
gthumb_
gthumb-
gthumb-
gthumb-
Packages.gz
Release
-------
If I continue down the path according to the error messages, I find a folder: “/var/cache/
CONCLUSION
Either apt-build, or the update programs is getting something wrong. I can't tell wish of them.
Apt-get is correctly creating a local repository for the chosen architecture, but does not seem able to communicate it to the update programs. Or, it might as well bu that is informed correctly, but the update programs is reading it wrong.
WORKAROUND
My previous workaround did remove the error messages, but did not solve the problem. Therefore removed. It was wrong.
Hello Kenneth,
we need some more data about your bug.
From a terminal window please run:
apport-collect 1268120
attach the output of
dpkg --get-selections
and then change the status of the bug to 'Confirmed'.
Jörg