I try to rebuild 001-core

Technical issues/questions of an intermediate or advanced nature.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

I try to rebuild 001-core

Post#1 by Jack » 11 Nov 2021, 19:14

I try to download 001-core here what happen when I did it.

Here is the command line I used.

Code: Select all

root@porteus:~/porteus-current/git/build# sh ../scripts/get-pkg ../docs/001-core.txt
Here is what happen when it started to download.

Code: Select all

 A report was left at /tmp/errors.txt 

Please enter a directory to download the packages to.
> /tmp/001-core

Downloading: ModemManager-1.18.2-x86_64-1.txz   DONE 
Downloading: NetworkManager-1.32.12-x86_64-1.txz   DONE 
Downloading: 21   DONE 
Downloading: a   DONE 
Downloading: sk   DONE 
Downloading: fresh   DONE 
Downloading: rror.   DONE 
Downloading: . DONE
Downloading: ANNOUNCE.14_2   DONE 
Downloading: CHANGES_AND_HINTS.TXT   DONE 
Downloading: CHECKSUMS.md5   DONE 
Downloading: CHECKSUMS.md5.asc   DONE 
Downloading: COPYING   DONE 
Downloading: COPYING3   DONE 
Downloading: COPYRIGHT.TXT   DONE 
Downloading: CRYPTO_NOTICE.TXT   DONE 
Downloading: ChangeLog.txt   DONE 
Downloading: EFI   DONE 
Downloading: BOOT   DONE 
Downloading: bootx64.efi   DONE 
Downloading: grub-embedded.cfg   DONE 
Downloading: grub.cfg   DONE 
Downloading: huge.s   DONE 
Downloading: initrd.img   DONE 
Downloading: make-grub.sh   DONE 
Downloading: osdetect.cfg   DONE 
Downloading: tools.cfg   DONE 
Downloading: FILELIST.TXT   DONE 
Downloading: GPG-KEY   DONE 
Downloading: PACKAGES.TXT   DONE 
Downloading: README.TXT   DONE 
Downloading: README.initrd   DONE 
Downloading: README_CRYPT.TXT   DONE 
Downloading: README_LVM.TXT   DONE 
Downloading: README_RAID.TXT   DONE 
Downloading: README_UEFI.TXT   DONE 
Downloading: RELEASE_NOTES   DONE 
Downloading: SPEAKUP_DOCS.TXT   DONE 
Downloading: SPEAK_INSTALL.TXT   DONE 
Downloading: Slackware-HOWTO   DONE 
Downloading: UPGRADE.TXT   DONE 
Downloading: extra   DONE 
Downloading: CHECKSUMS.md5   DONE 
Downloading: CHECKSUMS.md5.asc   DONE 
Downloading: FILE_LIST   DONE 
Downloading: MANIFEST.bz2   DONE 
Downloading: PACKAGES.TXT   DONE 
Downloading: README.TXT   DONE 
Downloading: aspell-word-lists   DONE 
Downloading: aspell-af-0.50_0-x86_64-5.txt   DONE 
Downloading: aspell-af-0.50_0-x86_64-5.txz   DONE 
Downloading: aspell-af-0.50_0-x86_64-5.txz.asc   DONE 
Downloading: aspell-am-0.03_1-x86_64-5.txt   DONE 
Downloading: aspell-am-0.03_1-x86_64-5.txz   DONE 
Downloading: aspell-am-0.03_1-x86_64-5.txz.asc   DONE 
Downloading: aspell-ar-1.2_0-x86_64-1.txt --> ^C
 User aborted ... 
 Cleaning up ...

root@porteus:~/porteus-current/git/build#
What do I need to do?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

I try to rebuild 001-core

Post#2 by beny » 11 Nov 2021, 21:15

hi M.Eire this is the incipit of the upgrade script the gpg key are loaded but we have this:
 Main system: updated 

1) 003-lxde 3) 003-xfce 5) 002-gui 7) 001-core
2) 003-mate 4) 002-xtra 6) 05-devel 8) end

Please, select base module to update or exit (1-8): 7
Could not open /mnt/live/memory/copy2ram/001-core*, because No such file or directory
ln: failed to create symbolic link '001-core/var/lib/pacman/': No such file or directory
error: failed to initialize alpm library:
(root: 001-core, dbpath: 001-core/var/lib/pacman/)
could not find or read directory

001-core is up to date

rm: cannot remove '001-core': No such file or directory
ok just for the record.

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

I try to rebuild 001-core

Post#3 by M. Eerie » 12 Nov 2021, 08:23

beny wrote:
11 Nov 2021, 21:15
Could not open /mnt/live/memory/copy2ram/001-core*
Hi beny, thanks for reporting. I think you are referring to this post. Maybe this should be moved there.

I've modified the script to aim at /mnt/live/memory/copy2ram instead of $PORTDIR/base.

I was wrong in assuming that the Always Fresh boot parameters implied 'copy2ram'. Therefore, I am going to change the script.

This is intended to avoid disk usage and be on the safe side. I.e. once you have created the new base modules, you can safely move the older ones into a backup folder to test the new ones.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

I try to rebuild 001-core

Post#4 by beny » 12 Nov 2021, 10:46

hi M.Eire when you are ready with the new on, the issue is for all the package rebuild so is something in the place where the script work,i have try also in copy2ram but the script tell me you have to do this task in fresh boot,there is a list of package without the version number? good work

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

I try to rebuild 001-core

Post#5 by Rava » 12 Nov 2021, 13:09

Jack wrote:
11 Nov 2021, 19:14

Code: Select all

 A report was left at /tmp/errors.txt 
What does /tmp/errors.txt say?

Or is the quoted from /tmp/errors.txt ?

Code: Select all

Downloading: 21   DONE 
Downloading: a   DONE 
Downloading: sk   DONE 
Downloading: fresh   DONE 
Downloading: rror.   DONE 
Downloading: . DONE
That looks like a script error… Without knowing the script I cannot say anything further.
Cheers!
Yours Rava

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

I try to rebuild 001-core

Post#6 by Jack » 22 Nov 2021, 01:16

Rava wrote:
12 Nov 2021, 13:09
Jack wrote:
11 Nov 2021, 19:14

Code: Select all

 A report was left at /tmp/errors.txt 
What does /tmp/errors.txt say?

Or is the quoted from /tmp/errors.txt ?

Code: Select all

Downloading: 21   DONE 
Downloading: a   DONE 
Downloading: sk   DONE 
Downloading: fresh   DONE 
Downloading: rror.   DONE 
Downloading: . DONE
That looks like a script error… Without knowing the script I cannot say anything further.
I don't have errors.txt any more I give up on that idea. I live over 2.5 years with Porteus mate and still use it today and it outdated but it works.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Post Reply