Post here if you are a new Porteus member and you're looking for some help.
-
RamonTavarez
- Contributor
- Posts: 81
- Joined: 14 Mar 2011, 12:00
- Distribution: 32 bit, KDE
- Location: Dominican Republic
Post#1
by RamonTavarez » 02 Apr 2014, 14:12
Hi:
I want to replace some libs from 05-devel.
I've read about extracting from the module at
http://forum.porteus.org/viewtopic.php? ... ule#p20985, but what about
replacing, not just removing?.
The fact is that, from
05-devel.xzm , I want to
replace some libs/pckgs for newer versions:
- binutils-2.23.52.0.1
bison-2.7
cmake-2.8.12
gcc-4.8.2
gcc-g++-4.8.2
glibc-2.17
gtext-tools-0.18.2.1
m4-1.4.17
and
include others:
- gcc-fortran-4.8.2
gcc-java-4.8.2
gcc-objc-4.8.2
gdb-7.6.1
glibc-profile-2.17
Can You give me information about these task?
Thanks in advance for your help.
Last edited by
RamonTavarez on 04 Apr 2014, 15:14, edited 2 times in total.
Ramón E. Tavárez
RamonTavarez
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#2
by brokenman » 02 Apr 2014, 17:53
By replace you could mean, remove old version and add new version.
Code: Select all
mkdir /tmp/005
xzm2dir 005-devel.xzm /tmp/005
ROOT=/tmp/005 removepkg binutils
installpkg --terse -root /tmp/005 binutils-0.1.2.3-i486-1.txz
Follow the above steps and remove and install slackware packages then recreate your new module a the end. If you're going to be removing glibc then good luck!
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#3
by fanthom » 02 Apr 2014, 18:37
@RamonTavarez
you are replacing core packages so be aware that we are not going to resolve issues caused by this setup.
Please add [Solved] to your thread title if the solution was found.
fanthom
-
RamonTavarez
- Contributor
- Posts: 81
- Joined: 14 Mar 2011, 12:00
- Distribution: 32 bit, KDE
- Location: Dominican Republic
Post#4
by RamonTavarez » 02 Apr 2014, 19:21
@ fanthom & @brokenman:
Thanks for your advice and instructions.
Question about replacing (updating): Can I cause serious conflicts replacing some pckgs by newers (updating )?
Questions about including: I have noticed that the debugger isn't included into 05-devel.xzm, I want to include GDB-7.xx to complete my development platform with "official" debugger. Do I really need to avoid this insertion?, why gdb isn't included?
Regards!
Ramón E. Tavárez
RamonTavarez
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#5
by brokenman » 03 Apr 2014, 12:47
Replacing the core linux libraries (glibc) will certainly cause problems. With other less core centric packages you may not have problems.
If you are using Porteus-v3.0 simply update USM: usm -u all and then run: usm -g gdb
There are no dependencies required. It probably wasn't included in the dev package as it is non essential and adds an extra 2Mb.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
RamonTavarez
- Contributor
- Posts: 81
- Joined: 14 Mar 2011, 12:00
- Distribution: 32 bit, KDE
- Location: Dominican Republic
Post#6
by RamonTavarez » 03 Apr 2014, 13:24
@brokenman:
Thanks.
I'll take care about glibc!
A last question: after intallpckg (for each lib) I need to reassemble 05-devel.xzm, as far as I remember I just use the command dir2xzm. Is there need of any other step before dir2xzm?
Regards.
Ramón E. Tavárez
RamonTavarez
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#7
by brokenman » 04 Apr 2014, 00:53
No other step required. Just unpack, remove/install, repack using dir2xzm. Good luck.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
RamonTavarez
- Contributor
- Posts: 81
- Joined: 14 Mar 2011, 12:00
- Distribution: 32 bit, KDE
- Location: Dominican Republic
Post#8
by RamonTavarez » 04 Apr 2014, 12:02
@brokenman:
Thanks again for your instructions!
I did as you recommended and everything is ok
(until now).
Best regards.
Ramón E. Tavárez
RamonTavarez