LinuxQuestions.org
Help answer threads with 0 replies.
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 12-12-2018, 04:36 PM   #16
Markus Wiesner
Member
 
Registered: Mar 2016
Distribution: Slackware
Posts: 146

Rep: Reputation: 237Reputation: 237Reputation: 237

Quote:
Originally Posted by orbea View Post
Please paste the output of the following command.

Code:
stat /var/lib/pkgtools/packages/blueman-2.0.6-x86_64-2
Quote:
Originally Posted by mpregos View Post
orbea here is what you asked
Did you really run the command with the full path? In my stat output the "File:" is identical to the command line, i.e. including the path!

Code:
$ stat /var/lib/pkgtools/packages/aaa_base-14.2-x86_64-5
  File: /var/lib/pkgtools/packages/aaa_base-14.2-x86_64-5
  Size: 2134            Blocks: 8          IO Block: 4096   regular file
[..]
So it looks like you omitted the path. You wrote above that you were in /var/log/packages. This should be a symlink to /var/lib/pkgtools/packages. But maybe yours is still a directory. Please paste the output of:

Code:
ls -ld /var/log/packages
 
1 members found this post helpful.
Old 12-12-2018, 06:10 PM   #17
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Good point, I didn't notice that...gotta love it when people say they follow instructions, but really you are left picking apart at the inconsistencies.
 
1 members found this post helpful.
Old 12-12-2018, 07:54 PM   #18
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by mpregos View Post
sharing the scenario, maybe could be helpfull:
- Install 14.2 from dvd
- follow this guide to install the current iso from here
- make initrd for kernel 4.19.2 and put it to /boot
- reboot
You didn't install 14.2, you installed -current. Or some mutant mismatch of the two.

Last edited by Richard Cranium; 12-12-2018 at 07:56 PM.
 
Old 12-12-2018, 09:14 PM   #19
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by mpregos View Post
yes,a lot actually
i change the permission but nothing happened

maybe it has to do with the CPRYPT + LVM partition that i choose to use/install slackware.
sharing the scenario, maybe could be helpfull:
- Install 14.2 from dvd
- follow this guide to install the current iso from here
- make initrd for kernel 4.19.2 and put it to /boot
- reboot
Just trying to understand things. Did you install 14.2 and then go and install current on top of it? If not, did you use slackpkg to upgrade to current or what was it that you actually did?
 
Old 12-12-2018, 09:31 PM   #20
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Since this is a new install... Why not download -current iso, create a DVD, wipe everything and follow the -current install guide? Simply apply the crypt/lvm instructions for -current and everything should be fine. There is no purpose in trying to figure out what is wrong with blueman install, when 30 minutes of re-installing -current with a full wipe of the HDD will result in a solution and having everything working properly. It is also a lot less time for the very friendly experts here to chase a unknown cause, when the solution is only 30 minutes away. Cheers.
 
Old 12-13-2018, 01:03 PM   #21
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 64

Original Poster
Rep: Reputation: 16
to sum up and answer to all questions that you put in this thread :
Quote:
to Mark

bash-4.4$ ls -ld /var/log/packages/
drwxr-xr-x 2 root root 57344 Dec 12 20:10 /var/log/packages/
it looks that in my setup is directory.Although, every new package that i install e.g chrome, the corresponding info package file . saved to
Quote:
/var/lib/pkgtools/packages
To quorda:
Quote:
I install 14.2 from dvd, and then i download the current from a public ftp, and installed as a new system, not on top of it.
I format the root partition - install - configure system e.t.c
To bamunds: I fully understand what you say, but in my case, i have a laptop, and i replace the cdrom with hdd.I do not want everytime to do:
1. download current
2. burn it to dvd
3. install it
Setting extra initrd.img in /boot , gives you a way to install slackware via hdd, which is actually pretty cool !!!when i discovered this, i appreciate Linux even more!!!

And after all, it's good to figure out WTF went wrong with my system!!!
 
Old 12-13-2018, 01:44 PM   #22
Markus Wiesner
Member
 
Registered: Mar 2016
Distribution: Slackware
Posts: 146

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by mpregos View Post
it looks that in my setup is directory.Although, every new package that i install e.g chrome, the corresponding info package file .
For whatever reason your old /var/log/packages and probably also the other directories were not moved to their new location when upgrading pkgtools. You can fix that with:

Code:
mv /var/log/packages/* /var/lib/pkgtools/packages/
rmdir /var/log/packages
ln -s ../lib/pkgtools/packages /var/log/packages

mv /var/log/scripts/* /var/lib/pkgtools/scripts/
rmdir /var/log/scripts
ln -s ../lib/pkgtools/scripts /var/log/scripts

mv /var/log/setup/* /var/lib/pkgtools/setup/
rmdir /var/log/setup
ln -s ../lib/pkgtools/setup /var/log/setup

mv /var/log/removed_packages/* /var/log/pkgtools/removed_packages/
rmdir /var/log/removed_packages
ln -s pkgtools/removed_packages /var/log/removed_packages

mv /var/log/removed_scripts/* /var/log/pkgtools/removed_scripts/
rmdir /var/log/removed_scripts
ln -s pkgtools/removed_scripts /var/log/removed_scripts
After that removepkg should be able to find the old package.
 
2 members found this post helpful.
Old 12-13-2018, 02:55 PM   #23
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 64

Original Poster
Rep: Reputation: 16
ok Markus , i didn't execute all the commands, but i create the links for every package in /var/log/packages/ to /var/lib/pkgtool/packages
and now it works
changes
Here is the content of the folder: /var/lib/pkgtool/packages:
Quote:
# ls -al /var/lib/pkgtools/packages/

lrwxrwxrwx 1 root root 39 Dec 13 22:32 xrandr-1.5.0-x86_64-2 -> /var/log/packages/xrandr-1.5.0-x86_64-2
lrwxrwxrwx 1 root root 37 Dec 13 22:32 xrdb-1.1.1-x86_64-2 -> /var/log/packages/xrdb-1.1.1-x86_64-2
lrwxrwxrwx 1 root root 41 Dec 13 22:32 xrefresh-1.0.6-x86_64-2 -> /var/log/packages/xrefresh-1.0.6-x86_64-2
I don't know, how i ended up with this configuration ,albeit this installation consider as fresh install.
Now i am able to remove package from both directories.It looks that is mandatory to have the packages also and in /var/lib/pkgtool/packages directory (...or to link it :P)

Finally, i can not find the CHANGES.txt that write the new slackware package behavior!!!

Setting this thread as SOLVED!!!!

Last edited by mpregos; 12-13-2018 at 03:00 PM.
 
Old 12-14-2018, 07:58 AM   #24
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Creating links to every package is not the solution...you should follow instructions instead of assuming you know better.
 
2 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
Installation of packages in RHEL-5.3 using X windows menu Add/Remove packages akluthra Linux - Newbie 2 09-21-2010 05:34 AM
Remove a package and all packages it depends on without breaking other packages? macroron Fedora 2 01-31-2010 05:49 PM
Sort installed packages by # of dependant packages installed brianez21 Debian 1 01-18-2006 05:06 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM

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

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