LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nothing going right today with slack10 (https://www.linuxquestions.org/questions/slackware-14/nothing-going-right-today-with-slack10-214024/)

timsch75 08-05-2004 07:36 PM

nothing going right today with slack10
 
Problems and more problems. First, I'm trying to get Slapt-get to work. I can never get it to --update using SOURCE=ftp://ftp.slackware.com/pub/slackware/slackware-current/ . It always fails to connect.

I tried to install swaret to try that, but never could even get it installed. I extracted it and it only has doinst.sh , which I tried, but it gave the following message:

./doinst.sh: line 1: cd: var: No such file or directory

YOU MUST EDIT /etc/swaret.conf.new! (man swaret.conf)
Rename it to /etc/swaret.conf and start using swaret.


I renamed as it said and tried again with the same response. I typed in 'swaret' to see what would happen but nothing happened.


I had both of these programs working seamlessly in slack9.1. Is anyone else having these problems???

----------------------------------------------

I'm also having issues with getting a graphical front end cdburner to work, but upon ./configure, I keep getting error messages stating that I'm missing KDE plugins and that I need to install kdelibs. I did a full install of slack10 hoping to avoid such occurrences. Anyway, I've been told I need to install a kdelibs-dev3.*.* but have not been able to find such packages. I was hoping that slapt-get or swaret would help me here....

I'm having other problems, but no need to overload this thread.

thanks

shilo 08-05-2004 08:03 PM

To get swaret installed, there is no need to extract anything. I believe that the swaret site is down, but you can get the Slackware .tgz package from freshmeat (just google swaret, I believe it is the second result. Then, use installpkg to install swaret. Rename the /etc/swaret.conf.new file, make any edits that you need, and:

Code:

swaret --update
Then, to get the graphical burner:

Code:

swaret --install k3b
It may give you the choice of several versions, just pick the one from the salckware mirror and not a repository. The ones fro mlinuxpackages.net always gave me problems.

Mephisto 08-05-2004 08:11 PM

Might I suggest that you use a mirror instead of going straight to slackware.com?

Mephisto 08-05-2004 08:15 PM

For k3b I would grab the package from linuxpackages.net. I am not sure what is missing but the pre-compiled package there worked.

timsch75 08-05-2004 09:45 PM

Mephisto: I didn't see any mirrors with "current" as an option. Thanks for the k3b info. the package worked great.

shilo: the latest swaret is swaret-1.6.2, which comes as swaret-1.6.2-noarch-1.tgz.tar. I'm used to seeing the .tar.gz ending which i 'tar -zxvf' and all is well. I did that with the tgz.tar file and it extracted, but after that I didn't know what to do. There was no ./configure, no ./install, etc... I tried installpkg swaret-1.6.2-noarch-1.tgz.tar and that didn't work. I looked for swaret-1.6.2-noarch-1.tgz after extracting the tarball and it was not to be found. I'm at a loss. I'd like to use the new version, but at least I should be able to handle swaret 0.95 if it comes down to that.

vrln 08-06-2004 01:34 AM

At least current has a package for k3b in /extra, so you might want to try that too.

Raphael M 08-06-2004 01:50 AM

Swaret:

Step by step:
-------------------
- go to www.swaret.sourceforge.net
- There is a download-link. Click it.
- Download swaret-1.6.2-noarch-1.tgz.tar
- Do NOT extract this tar archive !
- Instead of extracting this tarball, RENAME the file: mv swaret-1.6.2-noarch-1.tgz.tar swaret-1.6.2-noarch-1.tgz
- Now you can install the package: installpkg swaret-1.6.2-noarch-1.tgz
- Rename the Swaret Cnfigfile: mv /etc/swaret.conf.new /etc/swaret.conf
- Edit the file to fit your needs: mcedit /etc/swaret.conf ( or use your favourite editor instead of mc )

Editing the swaret.conf:
------------------------------
The swaret.conf is well commented, so you just have to read what it says to give it the right settings. Here is how I do it.
Set the $VERSION to whatever you need ( I´d recommend $VERSION=current )
The swaret.conf already includes some good mirrors. You do not need to change anything there, but you can add some additional mirrors of your choice ( do not go straight to the Slackware mirrors ! )
IMPORTANT: Since the old swaret website is down, you have to edit the DEP_ROOT ( Dependency Root )
Set it to: DEP_ROOT=http://swaret.sourceforge.net/libraries-$VERSION
If you use slocate to find files on your machine ( highly recommended ) you should tell Swaret to also use slocate instead of find ( slocate is much faster )
For doing so, edit the line DESEARCHM=1
Save the changes and quit the editor.

Swaret is now ready to start, but before we do so, we have to update the slocate database: updatedb
If this gives you a warning about a missing file /var/lib/slocate/slocate.db it means you have startet slocate for the first time. Don´t worry about this warning, you wont see it again because the file does exist now.
( /var/lib/slocate/slocate.db is the slocate Database file )


Now you can start using swaret:
swaret --update
swaret --upgrade

swaret --help will give you a short overview about the options.

timsch75 08-06-2004 03:24 PM

Thanks for the detailed info on swaret. Now it is working as well. Live and learn....


All times are GMT -5. The time now is 07:47 AM.