Updating Python packages error [SOLVED]

Moderators: 666philb, Forum moderators

Post Reply
User avatar
Jasper
Posts: 1654
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 712 times
Been thanked: 377 times

Updating Python packages error [SOLVED]

Post by Jasper »

Hi all

I need to update a Python package named Meson in order that I can compile an application.

I believe that I used the correction instructions but when I recheck the Python packages it still informs me that I am using the older build.

Also, I lost functionality of my OS and am unable to view my files, applications eg terminal refuse to open and my desktop changes colour.

The only way I can exit the OS is by powering down by the ON/OFF button.

What's going on??

Last edited by Jasper on Sun Dec 04, 2022 5:12 pm, edited 1 time in total.
User avatar
rockedge
Site Admin
Posts: 5772
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2050 times
Been thanked: 2130 times
Contact:

Re: Updating Python packages error

Post by rockedge »

@Jasper Do you have a backup of the save file/folder? For cases like this a roll back might be needed.

It sounds like something has crept in and is causing problems at the system level. I am guessing some systemd components are dependencies of one of the packages you've just installed/updated. If you can boot or get in and take a look at the directory /sbin in the save file/folder and compare it to the /sbin in the rootfs SFS.

This might not be exaactly the culprit but I believe it is along these lines that lib's changed or systemd components and/or configurations are present.

User avatar
Jasper
Posts: 1654
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 712 times
Been thanked: 377 times

Re: Updating Python packages error

Post by Jasper »

@rockedge

Thanks for replying and giving me some advice.
I do not think I installed systemd myself unless it is built in already. If not, then I will try to compile it and add it to my OS. Hopefully that will do the trick :thumbup2:

:oops: I generally do not make a backup of the my savefile as I have gone back from using a USB-HDD to a flashdrive. I messed up the initially setup on the HDD so found it easier to make changes to and from the flash drive.

In the past 48 hours I have only just begin to use @amethyst SFS toolkit as I did not completely understand it but realised that I could examine/repack SFS. Now I have realised how useful this can be.

I will try out the steps you outlined.

User avatar
rockedge
Site Admin
Posts: 5772
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2050 times
Been thanked: 2130 times
Contact:

Re: Updating Python packages error

Post by rockedge »

@Jasper Adding systemd to your Puppy Linux will break it in all kinds of ways! The trick is to see if a Puppy Linux needed symlink or configuration has been changed.

Sometimes I have had a save file/folder go bad for no reason that I could ever find the cause for and had to scrap it and start over.

User avatar
Jasper
Posts: 1654
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 712 times
Been thanked: 377 times

Re: Updating Python packages error

Post by Jasper »

@rockedge

Once I have time, I think I will download the packages into their default settings which appear to be

/usr/local (might be wrong???)

The existing files are located in a different location according to pFind.

I will copy over the downloaded and installed new files and then save them elsewhere.

Reboot and then copy them over and overwrite the existing files.

It might work :roll:

It was only Meson and Mutagen that I wanted to update.

Thanks again

User avatar
Jasper
Posts: 1654
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 712 times
Been thanked: 377 times

Re: Updating Python packages error

Post by Jasper »

I found a solution to my problem :D

Hope others may find it useful.

Load DevX first

In terminal I typed in the following:

pip freeze > requirements.txt

these gave me a list of packages that could be installed and then I typed in

pip install --upgrade --force-reinstall (package name)

to check that it had done this successful, typed in

pip list --outdated

Post Reply

Return to “Fossapup64”