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

Kenneth Wrede kennethwrede at yahoo.com
Tue Jan 14 07:30:40 UTC 2014


Affects LTS as well, and outside GUI

I tried it with a clean install of of latest Xubuntu LTS. 12.04.3. The
same thing happened.

1) I instelled a comman line environment from the Xubuntu LTS.
2) Installed apt-build, aind installed xubuntu-desktop with "apt-build install xubuntu-desktop"
3) Restarted, logged in and updated the sources.

-- 
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:
  Confirmed

Bug description:
  [Later edit: Clearify and some spelling corrections.]

  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 fully updated Saucy 13.10, with critical and recommended 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 found in sources-manager-GUI.
  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 sources-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.
  --- 
  ApportVersion: 2.12.5-0ubuntu2.2
  Aptdaemon:
   
  Architecture: amd64
  DistroRelease: Ubuntu 13.10
  GsettingsChanges:
   com.ubuntu.update-manager first-run false
   com.ubuntu.update-manager launch-time 1389440694
   com.ubuntu.update-manager show-details true
   com.ubuntu.update-manager window-width 439
  InstallationDate: Installed on 2013-12-28 (14 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
  MarkForUpload: True
  Package: update-manager 1:0.194.1
  PackageArchitecture: all
  Tags:  saucy
  Uname: Linux 3.8.13-03081315-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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