[Bug 1268120] [NEW] apt-build generates en error message in update-manager

Kenneth Wrede kennethwrede at yahoo.com
Sat Jan 11 11:56:21 UTC 2014


Public bug reported:

This bug might affect or have it's source in another package. I just
putted it where I found the troubble. Feel free to change if you like.
(This might affect unattended-upgrades as well, i don't know.)

I will first tell what I found, and then what I expect instead. Last of
all, a workaround.

PROBLEM
I'm running a fulle updated Saucy 13.10, with critical and recomended repos enabled. Not backports or proposed.
update-manager version 1:0.194.1

I have lately found out about the apt-build package. When I install that
package it also installs several others. It also, this is crucial, ads a
line in the sources list. But there is no change in
/etc/apt/sources.list. (Suprinsing) So the change is made somewere else
thats affects the sources-manager. The new row is "file:/var/cache/apt-
build/repository". I don't know where the actual addition is made, but
it's visible in tha update-manager-GUI.

This new line complicates thing. When I run update-manager it complains
that it could not "download" all files. If I uncheck that line in the
sources-manager, then the software-updater works as normal again. The
error message looks like this:

------------
"W:Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages  File not found
, E:Some index files failed to download. They have been ignored, or old ones used instead."
-----------

WHAT I EXPECT TO HAPPEN
I expect that the software-updater can tell difference of local and remote files, and only demand download and updated of the later. The local ones can be used as they are.

WORKAROUND
Keep the row  "file:/var/cache/apt-build/repository" deactivated in sources manager. Only enable it when you are messing around with apt-build, then deactivate it again. The own-build packages doesn't seem to be classified as obolsete/local in synaptic on this account.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apt-build update-manager

** Description changed:

- This bugg might affect or have it's source in another package. I just
+ This bug might affect or have it's source in another package. I just
  putted it where I found the troubble. Feel free to change if you like.
  (This might affect unattended-upgrades as well, i don't know.)
  
  I will first tell what I found, and then what I expect instead. Last of
  all, a workaround.
  
  PROBLEM
  I'm running a fulle updated Saucy 13.10, with critical and recomended repos enabled. Not backports or proposed.
  update-manager version 1:0.194.1
  
  I have lately found out about the apt-build package. When I install that
  package it also installs several others. It also, this is crucial, ads a
  line in the sources list. But there is no change in
  /etc/apt/sources.list. (Suprinsing) So the change is made somewere else
  thats affects the sources-manager. The new row is "file:/var/cache/apt-
  build/repository". I don't know where the actual addition is made, but
  it's visible in tha update-manager-GUI.
  
  This new line complicates thing. When I run update-manager it complains
- that it couls not "download" all files, and quits. If I uncheck that
- line in the sources-manager, then the software-updater works as normal
- again. The error message looks like this:
+ that it could not "download" all files. If I uncheck that line in the
+ sources-manager, then the software-updater works as normal again. The
+ error message looks like this:
  
  ------------
  "W:Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages  File not found
  , E:Some index files failed to download. They have been ignored, or old ones used instead."
  -----------
  
  WHAT I EXPECT TO HAPPEN
  I expect that the software-updater can tell difference of local and remote files, and only demand download and updated of the later. The local ones can be used as they are.
  
  WORKAROUND
  Keep the row  "file:/var/cache/apt-build/repository" deactivated in sources manager. Only enable it when you are messing around with apt-build, then deactivate it again. The own-build packages doesn't seem to be classified as obolsete/local in synaptic on this account.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1268120

Title:
  apt-build generates en error message in update-manager

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  This bug might affect or have it's source in another package. I just
  putted it where I found the troubble. Feel free to change if you like.
  (This might affect unattended-upgrades as well, i don't know.)

  I will first tell what I found, and then what I expect instead. Last
  of all, a workaround.

  PROBLEM
  I'm running a fulle updated Saucy 13.10, with critical and recomended repos enabled. Not backports or proposed.
  update-manager version 1:0.194.1

  I have lately found out about the apt-build package. When I install
  that package it also installs several others. It also, this is
  crucial, ads a line in the sources list. But there is no change in
  /etc/apt/sources.list. (Suprinsing) So the change is made somewere
  else thats affects the sources-manager. The new row is
  "file:/var/cache/apt-build/repository". I don't know where the actual
  addition is made, but it's visible in tha update-manager-GUI.

  This new line complicates thing. When I run update-manager it
  complains that it could not "download" all files. If I uncheck that
  line in the sources-manager, then the software-updater works as normal
  again. The error message looks like this:

  ------------
  "W:Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages  File not found
  , E:Some index files failed to download. They have been ignored, or old ones used instead."
  -----------

  WHAT I EXPECT TO HAPPEN
  I expect that the software-updater can tell difference of local and remote files, and only demand download and updated of the later. The local ones can be used as they are.

  WORKAROUND
  Keep the row  "file:/var/cache/apt-build/repository" deactivated in sources manager. Only enable it when you are messing around with apt-build, then deactivate it again. The own-build packages doesn't seem to be classified as obolsete/local in synaptic on this account.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1268120/+subscriptions



More information about the foundations-bugs mailing list