[Solved] Replace packages from 05-devel.xzm

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
User avatar
RamonTavarez
Contributor
Contributor
Posts: 81
Joined: 14 Mar 2011, 12:00
Distribution: 32 bit, KDE
Location: Dominican Republic

[Solved] Replace packages from 05-devel.xzm

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 viewtopic.php?f=75&t=3002&p=20955&hilit ... 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

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Replace packages from 05-devel.xzm

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.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4621
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Replace packages from 05-devel.xzm

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.

User avatar
RamonTavarez
Contributor
Contributor
Posts: 81
Joined: 14 Mar 2011, 12:00
Distribution: 32 bit, KDE
Location: Dominican Republic

Re: Replace packages from 05-devel.xzm

Post#4 by RamonTavarez » 02 Apr 2014, 19:21

@ fanthom & @brokenman:

Thanks for your advice and instructions. :good:

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

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Replace packages from 05-devel.xzm

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.

User avatar
RamonTavarez
Contributor
Contributor
Posts: 81
Joined: 14 Mar 2011, 12:00
Distribution: 32 bit, KDE
Location: Dominican Republic

Re: Replace packages from 05-devel.xzm

Post#6 by RamonTavarez » 03 Apr 2014, 13:24

@brokenman:

Thanks.

I'll take care about glibc! :wink:

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

User avatar
brokenman
Site Admin
Site Admin
Posts: 5576
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Replace packages from 05-devel.xzm

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.

User avatar
RamonTavarez
Contributor
Contributor
Posts: 81
Joined: 14 Mar 2011, 12:00
Distribution: 32 bit, KDE
Location: Dominican Republic

Re: [SOLVED] Replace packages from 05-devel.xzm

Post#8 by RamonTavarez » 04 Apr 2014, 12:02

@brokenman:

Thanks again for your instructions! :Bravo:

I did as you recommended and everything is ok :good: (until now).

Best regards.
Ramón E. Tavárez

Post Reply