LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-16-2018, 01:09 AM   #1
DenisAndreevich
LQ Newbie
 
Registered: Nov 2018
Posts: 14

Rep: Reputation: Disabled
Strange behavior


Recently, I was updated from Slackware 14 to 14.2 using a disk. In installation time of a system I specified that I want to install packages from network. Specified a mirror, updating took place normally. But, began to delete not tiresome to me applications, I noticed some strange behavior of removepkg
Example:
If i want unistall any program, removepkg give out in reply
Code:
 removepkg /var/log/packages/calligra-2.9.11-x86_64-26 
No such package: calligra-2.9.11-x86_64-26. Can't remove.
This mistake will appear during removal of any package.
Further, if I install the application, and then I will try to remove it, then wonderfully I will not find it in /var/log/packages

Code:
bash-4.4# upgradepkg --install-new /tmp/geany
geany-1.31.0-x86_64-1_SBo.tgz          geany-plugins-1.31.0-x86_64-1_SBo.tgz               
bash-4.4# upgradepkg --install-new /tmp/geany-1.31.0-x86_64-1_SBo.tgz 

+==============================================================================
| Installing new package /tmp/geany-1.31.0-x86_64-1_SBo.tgz
+==============================================================================

Verifying package geany-1.31.0-x86_64-1_SBo.tgz.
Installing package geany-1.31.0-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# geany (small and lightweight Integrated Development Environment)
#
# Geany is a text editor using the GTK2 toolkit with basic features of
# an integrated development environment. It was developed to provide a
# small and fast IDE, which has only a few dependencies from other
# packages. It supports many filetypes and has some nice features.
#
# Homepage: https://www.geany.org/
#
Executing install script for geany-1.31.0-x86_64-1_SBo.tgz.
Package geany-1.31.0-x86_64-1_SBo.tgz installed.
bash-4.4# upgradepkg --install-new /tmp/geany-plugins-1.31.0-x86_64-1_SBo.tgz 

+==============================================================================
| Skipping package geany-plugins-1.31.0-x86_64-1_SBo (already installed)
+==============================================================================

bash-4.4# removepkg /var/log/packages/ge
geeqie-1.4-x86_64-2              genpower-1.0.5-x86_64-3          gettext-0.19.8.1-x86_64-5        getty-ps-2.1.0b-x86_64-4         
gegl-0.4.12-x86_64-1             getmail-5.7-x86_64-1             gettext-tools-0.19.8.1-x86_64-5  gexiv2-0.10.8-x86_64-1
What became the reason of such behavior?
 
Old 11-16-2018, 04:16 PM   #2
swatnio
LQ Newbie
 
Registered: Jan 2009
Distribution: slackware
Posts: 23

Rep: Reputation: 1
what about running?
Code:
$ upgradepkg --reinstall /tmp/geany-1.31.0-x86_64-1_SBo.tgz
Does it install it? does geany appear on /var/log/packages?

Also, do
Code:
$ ls /var/log/packages/ge*
(Instead of tab-tab)

What about disk usage? it isn't full, is it?

And does dmesg show any error?
 
Old 11-17-2018, 04:02 AM   #3
DenisAndreevich
LQ Newbie
 
Registered: Nov 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Question

I attached the file in an investment. Did not find anything interesting.

Quote:
What about disk usage? it isn't full, is it?
The root section of the file system is engaged at only 12GB of 50GB.
The most interesting, in directory/var/log/packages/is not present files of those programs which I compiled and installed independently.
Code:
bash-4.4# ls /var/log/packages/ | grep calligra
calligra-2.9.11-x86_64-26
bash-4.4# ls /var/log/packages/ | grep geany
bash-4.4#
Attached Files
File Type: txt dmesg.txt (61.5 KB, 7 views)
 
Old 11-17-2018, 05:32 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
Quote:
Originally Posted by DenisAndreevich View Post
Recently, I was updated from Slackware 14 to 14.2 using a disk.
Perhaps you should be more specific about what disk that was, and what commands you used to update.
Because what I notice (kernel version in your dmesg output and package versions you mention) you are running slackware-current and not Slackware 14.2.
If you upgraded from 14.1 directly to -current and skipping 14.2 there's going to be some challenges for you.
 
Old 11-17-2018, 05:56 AM   #5
DenisAndreevich
LQ Newbie
 
Registered: Nov 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by Alien Bob View Post
Perhaps you should be more specific about what disk that was, and what commands you used to update.
Because what I notice (kernel version in your dmesg output and package versions you mention) you are running slackware-current and not Slackware 14.2.
If you upgraded from 14.1 directly to -current and skipping 14.2 there's going to be some challenges for you.
I took iso from the http://www.slackware.com/torrents/sl...ll-dvd.torrent page. Then, when the fitter was started, one of questions was from where to install a system. I chose to establish on network and specified a mirror http://mirror.yandex.ru/slackware/slackware64-current/. Further, executed a system configuration (timezone, elilo etc) and all. I correctly understand that it would be at first better to install packages from a disk, and then to update them on network?

P.S Generally everything works as expected. I normally installed the driver of Nvidia. I normally collect packages, I listen to music, I watch film and I use Firefox

Last edited by DenisAndreevich; 11-17-2018 at 05:57 AM. Reason: Add text
 
Old 11-17-2018, 06:19 AM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,844

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Going from Slackware 14 to Slackware-current is a version jump of three versions. Not good if you don't totally read the changelogs from each version. There will have been a lot of packages removed, and a lot of packages added. This will account for the weird behavior you are seeing and will probably see a lot more yet.

A clean install is best for a multiple version jump.
 
Old 11-17-2018, 08:08 AM   #7
DenisAndreevich
LQ Newbie
 
Registered: Nov 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Question

II remembered an important thing (as it seems to me) why in installation time chose current repository. When I selected the mount endpoints, I indicated that the root and boot partition would be formatted. I did not format the home directory.
My fstab:
Code:
/dev/sda3        /                ext4        defaults         1   1
/dev/sda2        /boot            ext4        defaults         1   2
/dev/sda4        /home            ext4        defaults         1   2
/dev/sda1        /boot/efi        vfat        defaults         1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

UUID="C0A4DC6AA4DC6486" /home/denis/SteamNtfs/   ntfs-3g     user,users,gid=users,fmask=113,dmask=002,locale=ru_RU.UTF-8 0 0
UUID="86BEE2D6BEE2BDB5" /home/denis/WindowsHome/ 	 ntfs-3g     user,users,gid=users,fmask=113,dmask=002,locale=ru_RU.UTF-8 0 0
 
Old 11-17-2018, 09:47 AM   #8
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Several months ago pkgtools had a change made to it in Slackware-current. In short, the directories where pkgtools store the package "database" was moved from /var/log to /var/lib/pkgtools/.

My guess is that 14.0 left remnants behind of the old package "database" location, even though you upgraded to Slackware-current. It may be possible to correct this on your system. However it is likely more efficient to do a fresh installation of Slackware-current instead.

Please post the output of:

Code:
ls -l /var/log
ls -l /var/lib/pkgtools/
Please use code tags.
 
Old 11-17-2018, 11:03 AM   #9
DenisAndreevich
LQ Newbie
 
Registered: Nov 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by mralk3 View Post
Several months ago pkgtools had a change made to it in Slackware-current. In short, the directories where pkgtools store the package "database" was moved from /var/log to /var/lib/pkgtools/.

My guess is that 14.0 left remnants behind of the old package "database" location, even though you upgraded to Slackware-current. It may be possible to correct this on your system. However it is likely more efficient to do a fresh installation of Slackware-current instead.

Please post the output of:

Code:
ls -l /var/log
ls -l /var/lib/pkgtools/
Please use code tags.
I just reinstalled the system. The same iso burned to disc. I formatted the root and boot, and installed the system from the disk. Now everything works fine. Apparently, initially it was necessary to do so
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Strange Mozilla Behavior Crashed_Again Linux - Software 4 07-23-2003 08:20 AM
xawtv: Strange Behavior chem1 Linux - Hardware 1 04-29-2003 03:22 AM
Strange Sound Behavior Benkong2 Linux - Newbie 0 12-29-2002 10:12 AM
strange java behavior neo77777 Linux - General 7 06-21-2002 01:36 AM
Strange DHCPcd behavior padukes Linux - Networking 0 03-17-2002 09:55 AM

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

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