LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-06-2017, 02:44 AM   #316
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,233

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027

Quote:
Originally Posted by LuckyCyborg View Post
The cake is a lie. Because it still install the KDE leftovers and you guys ask for a full install or I got a fork supported by no one.

While I need no more than this XFCE compilation made by Eric Hameleers.
It's you who says a lie
 
Old 12-06-2017, 02:54 AM   #317
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
BTW, he made a reference to a cult series/movie: Firefly/Serenity.

Also it is a term in the urban slang, see there https://www.urbandictionary.com/defi...20is%20a%20lie

Ha ha! I changed my impression about the cowboys, either Texans or Russians...

Last edited by Darth Vader; 12-06-2017 at 02:56 AM.
 
Old 12-06-2017, 03:13 AM   #318
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,233

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
Do not worry, see you soon, sixty two years, I've seen, heard and read, others
 
Old 12-06-2017, 03:22 AM   #319
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
You are 62, my friend? Heh, I am also almost 50, not so young anymore ...

Last edited by Darth Vader; 12-06-2017 at 03:26 AM.
 
Old 12-06-2017, 03:27 AM   #320
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,233

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
Yes, in two month, young man
 
Old 12-06-2017, 03:42 AM   #321
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
 
Old 12-06-2017, 04:05 AM   #322
NonNonBa
Member
 
Registered: Aug 2010
Distribution: Slackware
Posts: 192

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
The cake is a lie. Because it still install the KDE leftovers and you guys ask for a full install or I got a fork supported by no one.
The full install is just the way you won't have ANY further dependency problem, that's why it is advised for people not wanting to deal with them AT ALL (esp. if you are in -current). Now, I've been using Slackware for twelve years and NEVER did a full install. The way to follow is what I expose supra: keep a record of what you install, so you can generate the according tagfiles from it.

Get this record (ie. YOUR recipe to cook the distro) is straightforward: 1) install the XXX application package; 2) run it; 3) when it fails, look for the package containing the LLL.so.1.2.3 it asks for. The last step is easy to complete from the MANIFEST.bz2 file:

Code:
bzgrep 'Package:\|LLL\.so' MANIFEST.bz2 | grep -vB1 Package:
This should do 95% of the job, the remaining is why the record is a commented record (and why a 100% reliable dependency tracking is not trivial). This is moreover a good way to understand the structure of the system.

Last edited by NonNonBa; 12-06-2017 at 04:06 AM.
 
3 members found this post helpful.
Old 12-06-2017, 04:21 AM   #323
NonNonBa
Member
 
Registered: Aug 2010
Distribution: Slackware
Posts: 192

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Code:
grep -rnw '/var/log/packages/' -e 'PACKAGE GROUPS:.*LAMP.*' | cut -d: -f1 | cut -d/ -f5
This gives you a list of the installed packages from a packages set or group.
Notice this only gives you the list of the installed packages of the group, and then won't answer to the far more interesting question "what should I install to get a working LAMP". That's why the package logs are obviously the wrong place to store this info.
 
Old 12-06-2017, 04:34 AM   #324
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
But this is my issue, to know the _installed_ packages of the group, the response to "what should I install to get a working LAMP" should be given me by installer.
 
Old 12-06-2017, 04:39 AM   #325
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
That's only partially true, if you intend a mass removal with no inspection, because you assume that the group is self contained and no packages are used by other groups.

BUT, WHAT IF the group creator write down every package needed to give you a working LAMP, starting with the Kernel and GLIBC?

The groups idea permit to associate a package to many groups, after all it was its main feature.

The group author take to mark every package needed for the purpose of the group, in this case having a working LAMP, would work well even with a installer which works like you suggested, because I guess there is also about merging lists.

BUT, if you try to do blindly a mass removal in a group made like I explained, you would put down the system, removing even the Kernel.

That's why I claimed that my take has mainly an informational role.

I.e. to show you the installed packages from a specific group, for your further inspection.

Last edited by Darth Vader; 12-06-2017 at 04:52 AM.
 
Old 12-06-2017, 04:45 AM   #326
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
But this is my issue, to know the _installed_ packages of the group, the response to "what should I install to get a working LAMP" should be given me by installer.
That would need metapackages like in Ubuntu, for instance.

This feature is not available in Slackware.
 
Old 12-06-2017, 04:48 AM   #327
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
He talks about the groups idea, not about Slackware per se, but you are right, the Ubuntu or Debian use meta-packages for this purpose, while the RPM based distros, well... the package groups.

Last edited by Darth Vader; 12-06-2017 at 04:56 AM.
 
Old 12-06-2017, 04:53 AM   #328
NonNonBa
Member
 
Registered: Aug 2010
Distribution: Slackware
Posts: 192

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
But this is my issue, to know the _installed_ packages of the group, the response to "what should I install to get a working LAMP" should be given me by installer.
And where will the installer find this information? In a "DB" recording which groups any package belongs to. So, the most reliable and the only consistent way is to first ask to this (whenever-updatable) DB the names of the packages of the requested group, then to filter only the installed ones. Otherwise you can't never know if your logs reflect the current state of the distro (a package can become a crucial dependency of a group without being rebuilt).

Last edited by NonNonBa; 12-06-2017 at 04:54 AM.
 
Old 12-06-2017, 05:02 AM   #329
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
He had an idea about putting the groups data in the companion text files and grepping the information in the same way, then when you update the packages from distro, you will update also the groups information to reference the current state.

While I agree that his way could work, note also my previous comment about a really big issue about blind removals via groups, because there is no dependency checking other than your own brain.

Last edited by Darth Vader; 12-06-2017 at 05:21 AM.
 
Old 12-06-2017, 05:30 AM   #330
NonNonBa
Member
 
Registered: Aug 2010
Distribution: Slackware
Posts: 192

Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
when you update the packages from distro, you will update also the groups information to reference the current state.
The info you get is not reliable. If the new package1 version now requires package2 to just run, you don't have to rebuild package2, so the information it will still share when you'll upgrade package1 will be outdated (it has now to be referenced in the same group as package1). This otherwise would require to upgrade the packages just to update their group info, which is IMHO insane (but still, it wouldn't have any sense to duplicate this information in the package logs, so you don't need to hack installpkg).
 
  


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
"No volume groups found" when using LVM to decrease partition size dj_thrive Linux - Enterprise 6 10-05-2017 05:21 PM
where is "Users and Groups" in Debian "Wheezy" ? StefanP Linux - Newbie 10 04-28-2014 03:37 PM
How do you move groups of sectors in a hard drive using the "dd" command? cross731 Linux - Newbie 4 09-20-2011 05:14 PM
A proposal regarding the _registration_ of package dependencies by Pkgtools Darth Vader Slackware 13 07-13-2011 05:01 AM
Error: "cannot set groups" by using "su -", pls help nelsonyuen Linux - General 14 07-31-2010 12:24 PM

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

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