LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2009, 03:34 AM   #1
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Rep: Reputation: 16
slackpkg complains about missing files


Hi everyone!

This forum helped me a lot ever since i converted to linux.
This time i have to post a thread myself since i couldn't find one that solved my problem and google failed me (except for some pages in italian, which i don't understand ).

I recently installed Slackware 13. I was looking for an equivalent to apt-get which i'm accustomed to.
So installed slackpkg, choose a mirror from /etc/slackpkg/mirrors and tried
Code:
slackpkg update
which worked fine until:

Code:
cp: cannot stat `/tmp/slackpkg.IcmmwI/CHECKSUMS.md5': No such file or directory
                Package descriptions
        Formatting lists to slackpkg style...
                Package List
cp: cannot stat `/tmp/slackpkg.IcmmwI/*-filelist.gz': No such file or directory
                Package descriptions
cp: cannot stat `/tmp/slackpkg.IcmmwI/PACKAGES.TXT': No such file or directory
I was looking for some help in IRC channels, the only hints i got were "You don't have enough diskspace" and "You don't have a tmp directory".
Well, there's plenty of diskspace and i certainly have /tmp.

Any help is appreciated.
 
Old 10-10-2009, 03:59 AM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by KMBS View Post
Hi everyone!

This forum helped me a lot ever since i converted to linux.
This time i have to post a thread myself since i couldn't find one that solved my problem and google failed me (except for some pages in italian, which i don't understand ).

I recently installed Slackware 13. I was looking for an equivalent to apt-get which i'm accustomed to.
So installed slackpkg, choose a mirror from /etc/slackpkg/mirrors and tried
Code:
slackpkg update
which worked fine until:

Code:
cp: cannot stat `/tmp/slackpkg.IcmmwI/CHECKSUMS.md5': No such file or directory
                Package descriptions
        Formatting lists to slackpkg style...
                Package List
cp: cannot stat `/tmp/slackpkg.IcmmwI/*-filelist.gz': No such file or directory
                Package descriptions
cp: cannot stat `/tmp/slackpkg.IcmmwI/PACKAGES.TXT': No such file or directory
I was looking for some help in IRC channels, the only hints i got were "You don't have enough diskspace" and "You don't have a tmp directory".
Well, there's plenty of diskspace and i certainly have /tmp.

Any help is appreciated.
You need to run this task as root. This is just a generic suggestion and it doesn't explain the missing files in /tmp.

Make sure you have universal read/write for /tmp. This is another generic piece of advice, it shouldn't have affected the outcome of the update if you were running as root.
 
Old 10-10-2009, 04:05 AM   #3
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by lutusp View Post
You need to run this task as root. This is just a generic suggestion and it doesn't explain the missing files in /tmp.

Make sure you have universal read/write for /tmp. This is another generic piece of advice, it shouldn't have affected the outcome of the update if you were running as root.

Code:
root@slack:~# ls -ld /tmp/
drwxrwxrwt 5 root root 4096 2009-10-10 12:51 /tmp//
 
Old 10-10-2009, 04:19 AM   #4
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
Maybe this helps, this is the portuguese (not italian ) thread i found.

http://tinyurl.com/yzptxdq

This guy is only missing /tmp/slackpkg.N2GFQe/PACKAGES.TXT

The other two (that i am missing) are being downloaded with slackpkg update in his case.

Here is what my output looks like:


Code:
Updating the package lists...
        Downloading...
                        Downloading ChangeLog.txt...
--2009-10-10 13:15:02--  ftp://ftp.belnet.be/packages/slackware/slackware-13.0/C          hangeLog.txt
           => `/tmp/slackpkg.8QQLgi/ChangeLog.txt'
Resolving ftp.belnet.be... 193.190.67.15, 2001:6a8:a40::21
Connecting to ftp.belnet.be|193.190.67.15|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /packages/slackware/slackware-13.0 ... done.
==> SIZE ChangeLog.txt ... 222034
==> PASV ... done.    ==> RETR ChangeLog.txt ... done.
Length: 222034 (217K)

100%[======================================>] 222,034      240K/s   in 0.9s    

2009-10-10 13:15:04 (240 KB/s) - `/tmp/slackpkg.8QQLgi/ChangeLog.txt' saved [222          034]


                No changes in ChangeLog.txt between your last update and now.
                Do you really want to download all other files (y/N)? y

                List of all files
                Package List
                        Downloading FILELIST.TXT...
--2009-10-10 13:15:05--  ftp://ftp.belnet.be/packages/slackware/slackware-13.0/F          ILELIST.TXT
           => `/tmp/slackpkg.8QQLgi/FILELIST.TXT'
Resolving ftp.belnet.be... 193.190.67.15, 2001:6a8:a40::21
Connecting to ftp.belnet.be|193.190.67.15|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /packages/slackware/slackware-13.0 ... done.
==> SIZE FILELIST.TXT ... 850387
==> PASV ... done.    ==> RETR FILELIST.TXT ... done.
Length: 850387 (830K)

100%[======================================>] 850,387      306K/s   in 2.7s    

2009-10-10 13:15:09 (306 KB/s) - `/tmp/slackpkg.8QQLgi/FILELIST.TXT' saved [8503          87]

cp: cannot stat `/tmp/slackpkg.8QQLgi/CHECKSUMS.md5': No such file or directory
                Package descriptions
        Formatting lists to slackpkg style...
                Package List
cp: cannot stat `/tmp/slackpkg.8QQLgi/*-filelist.gz': No such file or directory
                Package descriptions
cp: cannot stat `/tmp/slackpkg.8QQLgi/PACKAGES.TXT': No such file or directory
I triec different mirrors, but the output is the same everytime (except the lines mentioning the mirror of course).
And i haven't modified /etc/slackpkg/slackpkg.conf in any way.
 
Old 10-10-2009, 04:25 AM   #5
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
You can try slapt-get as you said you were looking for an alternative to apt-get
 
  


Reply

Tags
cannot, cp, directory, file, slackpkg, stat



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
Custom kernel - lilo complains device-mapper missing donni Linux - Software 3 07-26-2010 12:47 PM
I installed the missing dependency...it still complains.. cybernike Linux - Newbie 8 05-16-2008 04:21 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM
xmms complains about object file missing kushalkoolwal Debian 1 03-06-2006 08:16 PM
Cinelerra complains about missing libstdc++.so.6 DarkShades Ubuntu 3 10-22-2005 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration