LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-09-2012, 02:55 AM   #1
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Rep: Reputation: 39
slackpkg cannot find PACKAGES.TXT


Slackware current - 64 bit

Here is the error I get:

Code:
root@darkstar:~# slackpkg update

Updating the package lists...
        Downloading...
                        Linking /opt/slackware-current/ChangeLog.txt...
Files /var/lib/slackpkg/ChangeLog.txt and /tmp/slackpkg.EK3qqA/ChangeLog.txt differ

                List of all files
                        Linking /opt/slackware-current/patches/MANIFEST.bz2...
                        Linking /opt/slackware-current/slackware64/MANIFEST.bz2...
                        Linking /opt/slackware-current/extra/MANIFEST.bz2...
                        Linking /opt/slackware-current/pasture/MANIFEST.bz2...
                        Linking /opt/slackware-current/testing/MANIFEST.bz2...
                Checksums
                        Linking /opt/slackware-current/CHECKSUMS.md5...
                        Linking /opt/slackware-current/CHECKSUMS.md5.asc...
                Package List
                        Linking /opt/slackware-current/FILELIST.TXT...
                Package descriptions
                        Linking /opt/slackware-current/patches/PACKAGES.TXT...
                        Linking /opt/slackware-current/slackware64/PACKAGES.TXT...
                        Linking /opt/slackware-current/extra/PACKAGES.TXT...
                        Linking /opt/slackware-current/pasture/PACKAGES.TXT...
                        Linking /opt/slackware-current/testing/PACKAGES.TXT...
        Formatting lists to slackpkg style...
                Package List: using CHECKSUMS.md5 as source
                Package descriptions
cat: /tmp/slackpkg.EK3qqA/slackware64-PACKAGES.TXT: No such file or directory

root@darkstar:~#
I have a synced current on /opt/slackware-current. It didn't happen on my 32 bit current.

Here is my blacklist config:

Code:
#
# aaa_elflibs can't be updated.
#
#aaa_elflibs

# You can blacklist using regular expressions.
#
# Don't use *full* regex here, because all of the following 
# will be checked for the regex: series, name, version, arch, 
# build and fullname.
#
# This one will blacklist all SBo packages:
[0-9]+_SBo
calligra
Updating works though. I have re-installed slackpkg several times already. Ex: remove it then install again, removing its config files.
 
Old 09-09-2012, 04:23 AM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0, CRUX 3.1
Posts: 3,058
Blog Entries: 15

Rep: Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769
Run "netconfig" and have it set up your network.
 
Old 09-09-2012, 05:03 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,234

Rep: Reputation: Disabled
Quote:
Updating the package lists...
Downloading...
Linking /opt/slackware-current/ChangeLog.txt...
Apparently you have a local Slackware mirror setup in /opt/slackware-current . I would start looking there. If slackpg is having issues, it is because your local mirror is not correct.

Eric
 
1 members found this post helpful.
Old 09-09-2012, 07:41 AM   #4
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
Hmmm... I'll try having a fresh sync, but that would take a week . Here is my script.

Code:
lysender@darkstar:~$ cat ~/bin/rsync-slackware.sh 
rsync -rvz --delete rsync://some-awsome-mirror.org/slackware/slackware64-current/ /opt/slackware-current/

lysender@darkstar:~$
 
Old 09-09-2012, 09:01 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Better use -avz than -rvz to have a real mirror.
 
1 members found this post helpful.
Old 09-09-2012, 09:14 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,550

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
even better, use -vazP
 
1 members found this post helpful.
Old 09-09-2012, 09:46 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Some people might not even want -z, depending on your connection speed to the server you are rsyncing to. For those with a fast enough connection it could actually slow things down.

Quote:
Originally Posted by Petri Kaukasoina View Post
rsync uses zlib for compression. Most files in slackware mirrors are already compressed with xz, and zlib can't compress them, it just eats some additional cpu cycles.
Quote:
Originally Posted by Petri Kaukasoina View Post
ok, I measured it. I transferred the slackware64-current directory (5.4GB) from an rsync server to another machine. Default configuration in both ends. Without -z the client received 5684687767 bytes and with -z it received 5674708207 bytes. So -z helps but only 0.18 percent.

Without compression the rsyncd server process used 22s cpu time and with compression 184s. That's why compression actually slows down the transfer if the connection has a large bandwidth: I have a 1Gb/s connection and it took 93s real time without compression and 230s with compression.

Last edited by ruario; 09-09-2012 at 09:48 AM.
 
2 members found this post helpful.
Old 09-09-2012, 11:07 AM   #8
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
So -vaP is the way to go?
 
Old 09-09-2012, 11:09 AM   #9
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
I just run this:

Code:
rsync -rvz --delete rsync://some-awsome-mirror.org/slackware/slackware64-current/ /opt/slackware-current/
We'll see

Thanks everyone. Will update with the issue once I'm fully synced.
 
Old 09-09-2012, 04:45 PM   #10
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
In any case you should really use the -a instead of the -r option. Else you don't copy symlinks as symlinks, you don't preserve permissions, owner, group, devices files, special files, modification times, so really you are not making a mirror.

Last edited by Didier Spaier; 09-09-2012 at 05:00 PM.
 
Old 09-10-2012, 07:41 AM   #11
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Original Poster
Rep: Reputation: 39
Done with full sync for less than a day. And issue is indeed incorrect local copy.

Thanks for all that helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating packages w/out Slackpkg Konphine Slackware 4 09-25-2011 02:40 PM
Does slackpkg delete packages that have been removed from Slackware? spudgunner Slackware 7 07-22-2011 07:22 AM
slackpkg flags newer packages for update kingbeowulf Slackware 8 03-06-2011 07:15 PM
SlackPkg trying to upgrade rpm2tgz-1.0-i486-1.txt in -current niels.horn Slackware 3 05-09-2009 09:43 AM
Slackpkg cannot find packages, swaret can mago Slackware 42 04-28-2007 12:35 AM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration