LinuxQuestions.org
Visit Jeremy's Blog.
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 02-10-2016, 01:14 PM   #1
SenseSpheres
LQ Newbie
 
Registered: Jan 2016
Posts: 27

Rep: Reputation: Disabled
Slackpkg Installation and startx


I recently installed Slackware on my computer and I recently was able to get the wireless configured.

I then downloaded slackpkg and installed slackpkg.

Afterwards I ran slackpkg install-new
and slackpkg update. Afterwards , it did the updates. Afterwards I restarted my computer. When I went to startx as root, there was an error saying screen not found also a .serverauth file was missing ... What happened ? This is the second time after slackpkg update. Is there a reason for this error ? I am wondering how to get x started.
 
Old 02-10-2016, 01:25 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Can you do this again as root:

slackpkg update gpg
slackpkg update
slackpkg install-new
slackpkg upgrade-all

Then reboot.

Check if you can run startx as your regular user.
 
Old 02-10-2016, 01:27 PM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
hi SenseSpheres,

excuse me in advance if I ask some questions: it's just to have a clearer situation and help you better.
Quote:
Originally Posted by SenseSpheres View Post
I recently installed Slackware on my computer
which version have you installed? 14.1? 32bit or 64bit?
Quote:
and I recently was able to get the wireless configured.

I then downloaded slackpkg and installed slackpkg.
slackpkg is already included in a slackware full installation: by that you mean you have done a partial installation? what have you installed and what haven't you installed?
Quote:
Afterwards I ran slackpkg install-new
and slackpkg update. Afterwards , it did the updates.
do you mean by that that you switched to a different version of slackware? maybe from stable to current (they are different versions)?
Quote:
Afterwards I restarted my computer. When I went to startx as root, there was an error saying screen not found also a .serverauth file was missing ... What happened ? This is the second time after slackpkg update. Is there a reason for this error ? I am wondering how to get x started.
try copy/pasting the error, post a photo or something that shows us the exact complete error you got...

also, some details on your hardware could help: post the output of
Code:
lspci -k
and /var/log/Xorg.0.log: you can also use http://pastebin.com for that.

Last edited by ponce; 02-10-2016 at 01:44 PM.
 
2 members found this post helpful.
Old 02-10-2016, 07:44 PM   #4
SenseSpheres
LQ Newbie
 
Registered: Jan 2016
Posts: 27

Original Poster
Rep: Reputation: Disabled
I am testing to see what the results are. I ran slackpkg update gpg, then slackpkg install-new, then slackpkg update, and last slackpkg upgrade-all. For the second I got 'No changes in ChangeLog.txt between your update and now'. Then the 3rd 'Looking for NEW packages to install. Please wait ...DONE' 'No packages match the pattern for install. Try:'
'/usr/sbin/slackpkg upgrade|reinstall'


When 'slackpkg upgrade-all'

It says
'You have a broken /var/log/packages - with two versions of the same package. The list of packages duplicated in your machine are shown below, but don't worry about this list - when you select your action, slackpkg will show a better list:

slackpkg-2.82.0-noarch-12
slackpkg-2.82.0-noarch-16

You can (B)lacklist,(R)emove, or (I)ignore these packages
I got slackpkg
 
Old 02-10-2016, 08:19 PM   #5
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 148

Rep: Reputation: 40
Quote:
Originally Posted by SenseSpheres View Post
I am testing to see what the results are. I ran slackpkg update gpg, then slackpkg install-new, then slackpkg update, and last slackpkg upgrade-all. For the second I got 'No changes in ChangeLog.txt between your update and now'. Then the 3rd 'Looking for NEW packages to install. Please wait ...DONE' 'No packages match the pattern for install. Try:'
'/usr/sbin/slackpkg upgrade|reinstall'


When 'slackpkg upgrade-all'

It says
'You have a broken /var/log/packages - with two versions of the same package. The list of packages duplicated in your machine are shown below, but don't worry about this list - when you select your action, slackpkg will show a better list:

slackpkg-2.82.0-noarch-12
slackpkg-2.82.0-noarch-16

You can (B)lacklist,(R)emove, or (I)ignore these packages
I got slackpkg
The order of operations using slackpkg is important. From the manpage
Quote:
Slackpkg can be used to upgrade the whole distribution.
The usual way is to do:

# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
I believe another response to your topic already mention the same. Please try again.
 
Old 02-10-2016, 09:40 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you have two slackpkgs in stalled. open a terminal as root and type pkgtool and uninstall one. Remember slackpkg is already installed with slackware you just edit the /etc/slackpkg/mirror then do a slackpkg update slackpkg upgrade-all
 
Old 02-11-2016, 04:37 AM   #7
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by Drakeo View Post
you have two slackpkgs in stalled.
When you stall, you should push the stick to lower your nose, and increase throttle...

Err.. whatever..
 
Old 02-11-2016, 05:39 AM   #8
kevison
Member
 
Registered: Dec 2007
Location: Grand Rapids, Michigan USA
Distribution: Slackware/Bodhi/Manjaro
Posts: 149

Rep: Reputation: Disabled
Quote:
Originally Posted by jostber View Post
Can you do this again as root:

slackpkg update gpg
slackpkg update
slackpkg install-new
slackpkg upgrade-all

Then reboot.

Check if you can run startx as your regular user.
As was mentioned... also remember to run these in the order listed.
 
Old 02-11-2016, 12:43 PM   #9
SenseSpheres
LQ Newbie
 
Registered: Jan 2016
Posts: 27

Original Poster
Rep: Reputation: Disabled
what has happened so far:

At the cafe where I had wireless access, I was what to run slackpkg update , etcetera. It was updating various packages for a few hours, though it wasn't finished and I eventually had to s
quit in the middle. Currently, I am at a library, trying to start at the beginning again from the command line. I can't seem to access the wireless network here, though should be , its a public network. What do I do so I can get update started again?

It was
 
Old 02-11-2016, 12:53 PM   #10
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by SenseSpheres View Post
what has happened so far:

At the cafe where I had wireless access, I was what to run slackpkg update , etcetera. It was updating various packages for a few hours, though it wasn't finished and I eventually had to s
quit in the middle. Currently, I am at a library, trying to start at the beginning again from the command line. I can't seem to access the wireless network here, though should be , its a public network. What do I do so I can get update started again?

It was
Can't you "just" mirror a repository once from one place, and then you'll have plenty of time (and speed) to solve your problem locally ?
 
Old 02-11-2016, 12:58 PM   #11
SenseSpheres
LQ Newbie
 
Registered: Jan 2016
Posts: 27

Original Poster
Rep: Reputation: Disabled
Do you suggest I return to previous location ? I'm trying to work at the library today for various reasons.
 
Old 02-11-2016, 01:04 PM   #12
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by SenseSpheres View Post
Do you suggest I return to previous location ? I'm trying to work at the library today for various reasons.
Hahaha . I just suggest that you do a mirror, "anywhere" you can have a connection. I dunno where you should do it, if it was in a "cafe" well go to the cafe, it it's the library try there (you can ask at the library for an access maybe or can't you ?).
 
Old 02-11-2016, 08:04 PM   #13
SenseSpheres
LQ Newbie
 
Registered: Jan 2016
Posts: 27

Original Poster
Rep: Reputation: Disabled
I 'm trying a different mirror, the problem is that I had been interrupted while I was slackpkg upgrade-all, and it seems to be having difficulty connecting. Currently it is 'Looking for packages to upgrade. Please wait...' . when I slackpkg upgrade-all earlier, it saw that some were upgraded, though later said something like 'unable to resolve host' .... Currently it is still in a process ...
 
Old 02-11-2016, 08:38 PM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
If your using wireless and startx isn't working then you will most likely have to connect to a wireless network using the command line before slackpkg will work. here is two links that tell how to connect to a wireless network from the command line.
http://www.ghacks.net/2009/04/14/con...-command-line/
http://xmodulo.com/manage-wifi-conne...mand-line.html
 
Old 02-11-2016, 11:59 PM   #15
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
I was talking about doing a LOCAL mirror (first resync the repo somewhere on your harddrive). This is cool even when you have a fast and constant connection, with a sporadic and unstable connection, it's even more essential.
 
1 members found this post helpful.
  


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
[SOLVED] slackpkg and pktools missing after chroot-installation rebeka_catalina Slackware 3 07-29-2015 05:02 PM
Slow startx and slackpkg update resolving. staus Slackware 4 04-30-2013 04:06 PM
Using slackpkg as a Tool to Create a New Installation on Removable Media JazzItSelf Slackware 1 07-12-2010 02:02 AM
Slackpkg killed my new installation..... gvernold Slackware 26 03-26-2010 02:22 PM
Slackpkg and startx issue DragonM15 Linux - Software 1 05-31-2005 04:18 PM

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

All times are GMT -5. The time now is 12:06 PM.

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