Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

local repo error

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
shams
Posts: 144
Joined: 2006-02-17 15:37

local repo error

#1 Post by shams »

hi,
i created local repo the directories are:
/opt/deb/binary
copied the deb files to the binary directory then cd to the /opt/deb and run this command to create packges.gz:
dpkg-scanpackages binary /dev/null | gzip -9c > binary/Packages.gz
the ouptut was this:
** Packages in archive but missing from override file: **
acl2 acorn-fdisk acpi-support adept akode akregator alien amarok
amarok-gstreamer amsn animal0 apache2-common apache2-mpm-worker
apache2-utils ark arts artsbuilder aspell-en atomix atomix-data avm-
fritz-firmware avm-fritz-firmware-2.6.12-9

Wrote 22 entries to output Packages file
i added this line to the /etc/apt/sources.list:
deb file:///opt/deb binary/

now when run the aptitude update this is the error:
Reading task descriptions... Done
Ign cdrom://Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy Release.gpg
Ign file: apt-build Release.gpg
Ign file: binary/ Release.gpg
Get:1 file: apt-build Release [89B]
Ign file: binary/ Release
Ign file: binary/ Packages
Ign file: apt-build/main Packages

pleas help me.

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#2 Post by Harold »

Add the following to /etc/apt/sources.list:
deb file:/opt/deb/binary/ ./

Then do:
cd /opt/deb/binary/
apt-ftparchive packages . | gzip > Packages.gz
apt-get update


That gets old after a while, so go into ~/.bashrc and add the following:
alias name_your_alias='cd /opt/deb/binary/ && apt-ftparchive packages . | gzip > Packages.gz && apt-get update'

shams
Posts: 144
Joined: 2006-02-17 15:37

#3 Post by shams »

hi Harold,
thanks for the rpely, i followed the instructions and run the apt-get update this is the output:
Ign cdrom://Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy Release.gpg
Ign file: apt-build Release.gpg
Ign file: ./ Release.gpg
Get:1 file: apt-build Release [89B]
Ign file: ./ Release
Ign file: apt-build/main Packages
Ign file: ./ Packages
i think still the same problem, any idea please?

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#4 Post by Harold »

Post a copy of your sources.list, please.

shams
Posts: 144
Joined: 2006-02-17 15:37

#5 Post by shams »

thanks for reply this is my /etc/apt/sources.list:
deb file:/var/cache/apt-build/repository apt-build main
deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted

deb file:/opt/deb/binary/ ./
## Uncomment the following two lines to fetch updated software from the network
deb http://archive.ubuntu.com/ubuntu breezy main restricted
#deb-src http://archive.ubuntu.com/ubuntu breezy main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
#deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu breezy universe
#deb-src http://archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
#deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
#deb-src http://security.ubuntu.com/ubuntu breezy-security universe
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

Post Reply