LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-28-2005, 08:59 AM   #1
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Rep: Reputation: 30
Swaret install


Hi have been trying to install swaret I downloaded from sourceforge.net and getting a simple error I cannot get around to install swaret.

This is my home directory with the files:

root@flebslack:/home/flebber# dir
Desktop etc swaret-1.6.2-noarch-1.tgz usr
NVIDIA-Linux-x86-1.0-7174-pkg1.run install swaret-1.6.2-noarch-1.tgz.tar

I have tried extracting the swaret-1.6.2-noarch-1.tgz.tar file with both ark and command of tar -xvf swaret-1.6.2-noarch-1.tgz.tar to unpack it but when I go to use installpkg it will not install I get this error:

root@flebslack:/home/flebber# installpkg swaret-1.6.2-noarch-1.tgz
Cannot install swaret-1.6.2-noarch-1.tgz: package is not a regular file


Any ideas?
 
Old 04-28-2005, 09:10 AM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
It could be a problem with the way you downloaded it, like from a browser.. Sometimes firefox or IE saves it as .tgz.tar, where you will need to rename it to .tgz

EDIT: and sometimes for some reason the package itself is saved as .tgz.tar .. hmm.. anyway

use the command line program 'wget' to download swaret.
after wards rename it to .tgz and install it
Code:
mv swaret-1.6.2-noarch-1.tgz.tar swaret-1.6.2-noarch-1.tgz
installpkg swaret-1.6.2-noarch-1.tgz
edit swaret.conf.new
Code:
pico /etc/swaret.conf.new
change version to current
Code:
version=current
save it as swaret.conf
Code:
ctrl + o
swaret.conf
enter, then ctrl + x
start it with
Code:
swaret --update
swaret --upgrade
EDIT: for safety reasons, updating the kernel and lilo are disabled.. you can enable it when you wwant to by commenting the EXCLUDE line at the bottom of swaret.conf (just add a # before it).

But if you ever do upgrade the kernel (like from 2.4.29 to 2.4.30), after it finishes downloading and installing it, just type
Code:
lilo
before you reboot, so that your lilo will be updated.

Last edited by xushi; 04-29-2005 at 04:55 AM.
 
Old 04-28-2005, 04:54 PM   #3
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Original Poster
Rep: Reputation: 30
All good thanks had me boggled

Last edited by flebber; 04-28-2005 at 04:57 PM.
 
Old 04-28-2005, 04:58 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
[edit]
nothing to add...
 
Old 04-29-2005, 04:05 AM   #5
flebber
Member
 
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Original Poster
Rep: Reputation: 30
my update-10.1 with swaret --update isn't resolving.

root@flebslack:/home/flebber# swaret --update
swaret 1.6.2-1

[ ftp://ftp.nluug.nl/pub/os/Linux/dist...ckware-current ]
### Fetching CHECKSUMS List File... DONE!
FILELIST List File is up-to-date!
Packages Descriptions up-to-date!
Extra Packages Descriptions up-to-date!
ChangeLog up-to-date!
[ ftp://ftp.linuxpackages.net/pub/Slackware-10.1 ]
### Fetching 'LinuxPackagesDOTNET' CHECKSUMS List File... FAILED!
### Fetching 'LinuxPackagesDOTNET' FILELIST List File... FAILED!
### Fetching 'LinuxPackagesDOTNET' PACKAGES List File for Packages... FAILED!

my upgrade works but it gives this error.

INFORMATION: Set DEPENDENCY to 0 in /etc/swaret.conf
to disable Dependency Support.



%%% Verifying Dependencies... Libraries resolved successfully!

Last edited by flebber; 04-29-2005 at 04:24 AM.
 
Old 04-29-2005, 04:49 AM   #6
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Quote:
Originally posted by flebber
my update-10.1 with swaret --update isn't resolving.

root@flebslack:/home/flebber# swaret --update
swaret 1.6.2-1

[ ftp://ftp.nluug.nl/pub/os/Linux/dist...ckware-current ]
### Fetching CHECKSUMS List File... DONE!
FILELIST List File is up-to-date!
Packages Descriptions up-to-date!
Extra Packages Descriptions up-to-date!
ChangeLog up-to-date!
By the way, sorry i just found a typo... you're supposed to run --update first, and then --upgrade
Code:
swaret --update
swaret --upgrade
Quote:
[ ftp://ftp.linuxpackages.net/pub/Slackware-10.1 ]
### Fetching 'LinuxPackagesDOTNET' CHECKSUMS List File... FAILED!
### Fetching 'LinuxPackagesDOTNET' FILELIST List File... FAILED!
### Fetching 'LinuxPackagesDOTNET' PACKAGES List File for Packages... FAILED!
I suggest you get rid of your linuxpackages.net repository.. Its not recommended to use swaret (or any auto updating tool) with it. Use swaret with slackware's official updates. Otherwise if you know what you're doing, manually select packages and not use the "install all" option, go for it.

Quote:
my upgrade works but it gives this error.
INFORMATION: Set DEPENDENCY to 0 in /etc/swaret.conf
to disable Dependency Support.
%%% Verifying Dependencies... Libraries resolved successfully!
Edit: Its not really an error. It's just checking for missing or broken dependancies.. If you want to disable it, just edit /etc/swaret.conf and set it to 0
Code:
# Do you want to enable Dependency Check?
# -> If set to 1, swaret will start the Dependency Check after
#    every Upgrade, Install and Re-Install Procedure.
# -> If set to 0, swaret will not start the Dependency Check
#    after any Procedure.
# 
DEPENDENCY=1

Last edited by xushi; 04-29-2005 at 04:51 AM.
 
  


Reply



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
Need Help with Swaret Install! cereal83 Slackware 8 10-23-2004 04:41 PM
Install issues with SWareT jtp51 Slackware 3 10-05-2004 01:31 AM
How do I install Swaret? showardkid Slackware 18 05-29-2004 06:59 PM
How to install Swaret? bruce205 Slackware 14 02-21-2004 07:12 PM
How do I install swaret on Slackware 9.1 ? Raptor Ramjet Slackware 2 10-01-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:10 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