LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Closed Thread
  Search this Thread
Old 09-16-2016, 02:50 PM   #1636
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled

This is from the slackbuild script from -current.

Code:
git archive --format=tar --remote=git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools master
Therefore net-tools builds from the master and net-tools needs to be rebuilt because it's broken and slackbuild doesn't rely on a release.

http://www.linuxquestions.org/questi...lt-4175588248/
 
Old 09-16-2016, 03:05 PM   #1637
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader
1GB Radeon HD6450, as "legacy hardware"
I see support in the kernel for Caicos (HD6450), have you tried the KMS driver? I think that even AMD are dropping all support for proprietary linux drivers on all GPUs.
 
Old 09-16-2016, 03:08 PM   #1638
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Rinndalir View Post
This is from the slackbuild script from -current.

Code:
git archive --format=tar --remote=git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools master
Therefore net-tools builds from the master and net-tools needs to be rebuilt because it's broken and slackbuild doesn't rely on a release.

http://www.linuxquestions.org/questi...lt-4175588248/
Define "broken". Back up your claims please.
 
Old 09-16-2016, 03:08 PM   #1639
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Rinndalir View Post
This is from the slackbuild script from -current.

Code:
git archive --format=tar --remote=git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools master
Therefore net-tools builds from the master and net-tools needs to be rebuilt because it's broken and slackbuild doesn't rely on a release.

http://www.linuxquestions.org/questi...lt-4175588248/
I think you need to learn what is in a SlackBuild script, and what is in the source folder. That line is only contained in the net-tools.url file within the source folder for net-tools, but it is not part of the SlackBuild and it is never run. As I said in the other thread, this is likely there as a reference for how Pat got the source for the version that is used.
 
Old 09-16-2016, 07:33 PM   #1640
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob
do not understand a word of what you said
Maybe this helps:

http://codegolf.stackexchange.com/qu...ien-translator
 
Old 09-16-2016, 08:16 PM   #1641
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob
Define "broken". Back up your claims please.
Broken arp. I don't have arp anymore, I've removed the package. While looking for a solution I found that many distros using net-tools have not pulled recently and are relying on some official release to come.
They are using the net-tools-1.60.20120726git.tar

Meant to add that it doesn't seem like the project's going to do a release. Looks like more of a rolling release style. i.e git pull

Last edited by Rinndalir; 09-16-2016 at 08:22 PM.
 
Old 09-16-2016, 08:17 PM   #1642
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Rinndalir View Post
Seems like an SBo bug in their package naming. And why do they mix their package data in with slackware packages. Separate directories would be cleaner.
Quote:
Originally Posted by Rinndalir View Post
I think he means that your post makes no sense, even to people who speak/write English fluently (and Eric seems to have quite the mastery of the English language, so I certainly wouldn't think it is an issue with him not understanding English).

What "package data" is getting mixed with Slackware packages? Packages get installed to wherever the package maintainers specifies in the SlackBuild, which is generally under /usr/. Looking over both the packages' entries in /var/log/packages/, there doesn't seem to be any collisions other than a few similar folders (which is normal -- the majority of the packages will contain the same folders)... but removepkg doesn't remove any folders unless there is nothing left in them.

Code:
jbhansen@craven-moorhead:/var/log/packages$ perl -ne 'print if ($seen{$_} .= @ARGV) =~ /10$/' sqlite-3.7.17-x86_64-1 sqlite2-2.8.17_7-x86_64-1_SBo
PACKAGE DESCRIPTION:
FILE LIST:
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/doc/
usr/bin/
usr/lib64/
usr/lib64/pkgconfig/
usr/man/
usr/man/man1/
usr/include/
There is no bug with the naming. Pkgtools is able to distinguish between sqlite and sqlite2, so there should be no "SBo bug in their package naming".

So, if you truly think this is a problem, maybe you should provide a bit more information behind it so the powers that be can see what you're talking about, and if it truly is an issue, would be able to find a fix.
 
1 members found this post helpful.
Old 09-16-2016, 08:27 PM   #1643
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Rinndalir View Post
Broken arp. I don't have arp anymore, I've removed the package. While looking for a solution I found that many distros using net-tools have not pulled recently and are relying on some official release to come.

They are using the net-tools-1.60.20120726git.tar
What exactly is broken?

Code:
jbhansen@febtober:~$ arp
Address                  HWtype  HWaddress           Flags Mask            Iface
reborn-therapist         ether   48:5d:60:33:13:22   C                     eth0
craven-moorhead          ether   40:8d:5c:76:e8:49   C                     eth0
10.0.0.144               ether   00:25:ae:77:71:4e   C                     eth0
10.0.0.143               ether   00:09:b0:d4:98:e0   C                     eth0
DD-WRT                   ether   2c:30:33:51:3f:b3   C                     eth0
jbhansen@febtober:~$ sudo arp -d 10.0.0.143
jbhansen@febtober:~$ arp
Address                  HWtype  HWaddress           Flags Mask            Iface
reborn-therapist         ether   48:5d:60:33:13:22   C                     eth0
craven-moorhead          ether   40:8d:5c:76:e8:49   C                     eth0
10.0.0.144               ether   00:25:ae:77:71:4e   C                     eth0
10.0.0.143                       (incomplete)                              eth0
DD-WRT                   ether   2c:30:33:51:3f:b3   C                     eth0
jbhansen@febtober:~$ ping 10.0.0.143
PING 10.0.0.143 (10.0.0.143) 56(84) bytes of data.
64 bytes from 10.0.0.143: icmp_seq=1 ttl=64 time=0.438 ms
64 bytes from 10.0.0.143: icmp_seq=2 ttl=64 time=0.437 ms
64 bytes from 10.0.0.143: icmp_seq=3 ttl=64 time=0.476 ms
^C
--- 10.0.0.143 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.437/0.450/0.476/0.025 ms
jbhansen@febtober:~$ arp
Address                  HWtype  HWaddress           Flags Mask            Iface
reborn-therapist         ether   48:5d:60:33:13:22   C                     eth0
craven-moorhead          ether   40:8d:5c:76:e8:49   C                     eth0
10.0.0.144               ether   00:25:ae:77:71:4e   C                     eth0
10.0.0.143               ether   00:09:b0:d4:98:e0   C                     eth0
DD-WRT                   ether   2c:30:33:51:3f:b3   C                     eth0
I don't know much about arp, but it seems to be working fine here... Be more specific about your bug reports other than to just say it's broken, otherwise, if you don't tell people, they won't have any reason to try and fix what they don't know is broke.
 
Old 09-17-2016, 02:57 AM   #1644
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Rinndalir View Post
Broken arp. I don't have arp anymore, I've removed the package.
That would be correct, not having arp after removing the package. Well done.
Now, before you removed the package, arp would have been in /sbin/arp and it would have worked as usual. I tested it on Slackware 13.37 and 14.2.

Again, define "broken" in relation to the net-tools package that is part of Slackware and contains the arp binary.
 
Old 09-17-2016, 05:13 AM   #1645
th_r
LQ Newbie
 
Registered: May 2009
Posts: 21

Rep: Reputation: 24
Quote:
Originally Posted by bassmadrigal View Post

There is no bug with the naming. Pkgtools is able to distinguish between sqlite and sqlite2, so there should be no "SBo bug in their package naming".

So, if you truly think this is a problem, maybe you should provide a bit more information behind it so the powers that be can see what you're talking about, and if it truly is an issue, would be able to find a fix.
The problem appears when the system has third-party packages (SBo, Alien...) with similar names but different versions (when the number is added to the package name: as in 'sqlite' and 'sqlite2-*SBo'.
These examples are typical for Slackware (for e.g. packages like 'db42', 'db44', 'db48') and in such cases everything works fine. But in case when there are third-party packages everything falls apart and the problem is not connected with package names.
There is no problem when LC_COLLATE is C, but with other values of "LC_COLLATE" (not English for e.g.) script 'slackpkg' receives alerts like "comm:.file 2 is not in sorted order" and the system does not work correctly.
The solution is just a small patch for sort file ${TMPDIR}/dpkg in function listpkgname() in core-functions.sh or set "LC_COLLATE=C" in system preferences, but not everybody should set LC_COLLATE=C obviously. Btw, this problem is there for a long time as you can read in this thread.
 
Old 09-17-2016, 06:55 AM   #1646
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by th_r View Post
The solution is just a small patch for sort file ${TMPDIR}/dpkg in function listpkgname() in core-functions.sh or set "LC_COLLATE=C" in system preferences, but not everybody should set LC_COLLATE=C obviously. Btw, this problem is there for a long time as you can read in this thread.
You can also define an alias for slackpkg :

Code:
$ alias slackpkg="LC_COLLATE=C slackpkg"

$ locale|grep LC_COLLATE
LC_COLLATE=fr_FR.utf8

$ slackpkg -dialog=off -default_answer=no -batch=on upgrade-all

Checking local integrity... DONE
Looking for packages to upgrade. Please wait... DONE

sqlite-3.13.0-x86_64-1.txz

Total package(s): 1

Do you wish to upgrade selected packages (Y/n)? n
--
SeB

Last edited by phenixia2003; 09-17-2016 at 08:58 AM.
 
2 members found this post helpful.
Old 09-17-2016, 12:52 PM   #1647
th_r
LQ Newbie
 
Registered: May 2009
Posts: 21

Rep: Reputation: 24
Quote:
Originally Posted by phenixia2003 View Post
Hello,

You can also define an alias for slackpkg :

Code:
$ alias slackpkg="LC_COLLATE=C slackpkg"
--
SeB
Hi,

I agree, and so you can!
But it is best to add the alias in a package that worked immediately and without depending on the settings ...

Thanks
 
Old 09-18-2016, 04:55 PM   #1648
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Emacs 25.1
 
1 members found this post helpful.
Old 09-18-2016, 05:28 PM   #1649
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by th_r View Post
The problem appears when the system has third-party packages (SBo, Alien...) with similar names but different versions (when the number is added to the package name: as in 'sqlite' and 'sqlite2-*SBo'.
These examples are typical for Slackware (for e.g. packages like 'db42', 'db44', 'db48') and in such cases everything works fine. But in case when there are third-party packages everything falls apart and the problem is not connected with package names.
There is no problem when LC_COLLATE is C, but with other values of "LC_COLLATE" (not English for e.g.) script 'slackpkg' receives alerts like "comm:.file 2 is not in sorted order" and the system does not work correctly.
The solution is just a small patch for sort file ${TMPDIR}/dpkg in function listpkgname() in core-functions.sh or set "LC_COLLATE=C" in system preferences, but not everybody should set LC_COLLATE=C obviously. Btw, this problem is there for a long time as you can read in this thread.
This makes a lot more sense than Rinndalir's cryptic post. Thanks!

Looking further into this, it seems that pkgtool and installpkg both unset the LC_COLLATE variable when the script is run. But that is not in removepkg.

Code:
# Avoid problems if any files in /var/log/packages and /var/log/scripts
# might contain any broken UTF-8 sequences.  This was once known to cause
# dialog to crash.
unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY \
  LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT \
  LC_IDENTIFICATION LC_ALL
LANG=C
export LANG
However, removepkg contains the following, which should override any LC_ variables set in the environment.

Code:
# This makes "sort" run much faster:
export LC_ALL=C
I wonder if the default $LANG variable is causing the sort issues, as LANG can override LC_ALL. But, setting LC_COLLATE shouldn't cause any difference unless I'm reading things wrong. However, doing a quick check on my computer seems to show that $LANG does not affect sorting and LC_ALL overrides LC_COLLATE, so removepkg *should* function as it's supposed to.

Code:
jbhansen@craven-moorhead:~$ echo $LANG \| $LC_COLLATE \| $LC_ALL
en_US | C |
jbhansen@craven-moorhead:~$ sort <<< $'a\nb\nA\nB'
A
B
a
b
jbhansen@craven-moorhead:~$ LC_ALL=en_US sort <<< $'a\nb\nA\nB'
a
A
b
B
jbhansen@craven-moorhead:~$ LC_COLLATE=en_US sort <<< $'a\nb\nA\nB'
a
A
b
B
jbhansen@craven-moorhead:~$ LC_COLLATE=en_US LC_ALL=C sort <<< $'a\nb\nA\nB'
A
B
a
b
Maybe I don't have a deep enough understanding of locales, but based on my quick testing, I'm not seeing why removepkg should have a problem. I'd love some more insight on this, if anyone else is more familiar with it.

@Rinndalir, if you provided more information like th_r did with your "bug reports", people would be a lot more likely to take them seriously and look deeper into the issue.
 
Old 09-18-2016, 05:40 PM   #1650
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Maybe they mean that slackpkg is affected.
pkgtools might still work just fine, but maybe something internal to slackpkg is affected by the locale settings?

That would be my understanding.

--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
  


Closed Thread



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] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

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

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