Re: [Freedos-user] "fdnpkg update" not working
On Tue, Jun 4, 2024 at 9:53 PM Brandon Taylor via Freedos-user wrote: > > Well, a pox on me for thinking I could fix something when I clearly > have no idea what I'm doing. I guess there was a reason why the FreeDOS > developers disabled "physical hardware networking" even though I was > trying to run it on 86Box. I think there are still a number of kinks > to work out in that particular department... > > I went back and spun up a fresh FreeDOS VM on VirtualBox, and fdnpkg > update works correctly that way. Why it's flaky with 86Box, I have no > clue... (Sigh) It's not what you're asking about, but "fdnpkg update" suggests you are trying to update the FreeDOS packages from the FreeDOS distribution? On my system, I just reinstall with the monthly test releases. I made this easier by splitting my FreeDOS virtual machine into two virtual disks: freedos.qcow2 ("C:") is only for the FreeDOS install, including any packages that I install using FDIMPLES. mystuff.qcow2 ("D:") is where I keep my personal files. I run QEMU but the general idea is the same for other virtual machines, like VirtualBox - just define one virtual disk for "C:" and another virtual disk for "D:" When the T2406 test release came out, I just booted QEMU to only use freedos.qcow2 ("C:") and the T2406LIVE.iso (CD image). For me, that's: qemu-system-i386 -enable-kvm -m 32 -hda freedos.qcow2 -cdrom T2406LIVE.iso -boot order=d Then I let the installer do its thing. I usually completely wipe the system, starting by booting the install media, dropping back to the DOS prompt, then running FDISK to delete my "C:" partition. Reboot to start the install as normal on a "fresh" disk. When the installation is done, I just boot FreeDOS as normal, but with my "D:" drive connected, and with the boot order set to the "C:" drive: qemu-system-i386 -enable-kvm -m 32 -hda freedos.qcow2 -hdb mystuff.qcow2 -cdrom T2406LIVE.iso -boot order=c (I also use some other QEMU parameters to support SB16, AdLib, and PC speaker .. but I didn't list those options here.) ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] "fdnpkg update" not working
Well, a pox on me for thinking I could fix something when I clearly have no idea what I'm doing. I guess there was a reason why the FreeDOS developers disabled "physical hardware networking" even though I was trying to run it on 86Box. I think there are still a number of kinks to work out in that particular department... I went back and spun up a fresh FreeDOS VM on VirtualBox, and fdnpkg update works correctly that way. Why it's flaky with 86Box, I have no clue... (Sigh) Brandon Taylor From: Jerome Shidel via Freedos-user Sent: Tuesday, June 4, 2024 7:57 PM To: Discussion and general questions about FreeDOS. Cc: Jerome Shidel Subject: Re: [Freedos-user] "fdnpkg update" not working On Jun 4, 2024, at 7:33 PM, Brandon Taylor via Freedos-user wrote: I've tried several times lately to run fdnpkg update, but the command hangs repeatedly at Loading http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/base... ` and no progress is ever made. I've tried pinging www.ibiblio.org and discovered that it's up and running. The nearest I can figure is that, somehow, the FreeDOS repository on that server may have disappeared. Can anyone out there confirm whether it's working? When you browse that directory on ibiblio, that is the repository directory for that group “base”. However, server can do some odd things sometimes. So, I double checked by running FDNPKG update on FreeDOS 1.3. No issues detected. Try clearing the FDNPKG cache “see its help /?” If that does not help, it could be networking related. Something like a virtual machines host operating system firewall settings. If it's not, where can I find an acceptable mirror, and how do I configure the fdnpkg program to access that mirror? I upload all packages in the FreeDOS update repository used by FDNPKG on ibiblio. Those packages and several more are also uploaded to my “unofficial” repository on my server. It is not technically a mirror. But, it does get all the same updates as on ibiblio. Actually, since the repository management software makes a few changes to new uploads. I usually upload them to my server first. Then download the modified package and push it to ibiblio. That way the management software there sees the needed changes have been made and include the package as-is. You can browse the repository on my server at https://fd.lod.bz/repos/current/ or through html https://fd.lod.bz/repos/current/pkg-html/ But, accessing that server through the domain name https://fd.lod.bz/ will force a TLS connection. The reason for that is because of how search engines have been punishing domains that allow non-TLS connections. FDNPKG does not support TLS. Recently, I setup an alternate subdomain specifically for compatibility with FDNPKG. At present, its directory structure is not browsable. That subdomain does have access to the same repository on that server and you can browse the html index at http://dos.lod.bz/repos/current/pkg-html/ Because I think you are having a local problem, I don’t think it will help. But, you are welcome to pull updates from my server. It is relatively easy to make the adjustments to your system for that. In your \FREEDOS\BIN directory there is a FDNPKG.CFG file. Make a copy of the current one before you start editing it. That way you can always switch back if you want. Towards the end of the file you will see a bunch of urls for each of the groups, including the one for base you mentioned. You just need to change the main part of the url for each link. For example, to pull items in the base group from my server, you would change that link to: http://dos.lod.bz/repos/current/base And so on for each link. Brandon Taylor :-) Jerome ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] "fdnpkg update" not working
> On Jun 4, 2024, at 7:33 PM, Brandon Taylor via Freedos-user > wrote: > > I've tried several times lately to run fdnpkg update, but the command hangs > repeatedly at Loading > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/base... > ` and no progress is ever made. I've tried pinging www.ibiblio.org and > discovered that it's up and running. The nearest I can figure is that, > somehow, the FreeDOS repository on that server may have disappeared. Can > anyone out there confirm whether it's working? When you browse that directory on ibiblio, that is the repository directory for that group “base”. However, server can do some odd things sometimes. So, I double checked by running FDNPKG update on FreeDOS 1.3. No issues detected. Try clearing the FDNPKG cache “see its help /?” If that does not help, it could be networking related. Something like a virtual machines host operating system firewall settings. > If it's not, where can I find an acceptable mirror, and how do I configure > the fdnpkg program to access that mirror? I upload all packages in the FreeDOS update repository used by FDNPKG on ibiblio. Those packages and several more are also uploaded to my “unofficial” repository on my server. It is not technically a mirror. But, it does get all the same updates as on ibiblio. Actually, since the repository management software makes a few changes to new uploads. I usually upload them to my server first. Then download the modified package and push it to ibiblio. That way the management software there sees the needed changes have been made and include the package as-is. You can browse the repository on my server at https://fd.lod.bz/repos/current/ or through html https://fd.lod.bz/repos/current/pkg-html/ But, accessing that server through the domain name https://fd.lod.bz/ will force a TLS connection. The reason for that is because of how search engines have been punishing domains that allow non-TLS connections. FDNPKG does not support TLS. Recently, I setup an alternate subdomain specifically for compatibility with FDNPKG. At present, its directory structure is not browsable. That subdomain does have access to the same repository on that server and you can browse the html index at http://dos.lod.bz/repos/current/pkg-html/ Because I think you are having a local problem, I don’t think it will help. But, you are welcome to pull updates from my server. It is relatively easy to make the adjustments to your system for that. In your \FREEDOS\BIN directory there is a FDNPKG.CFG file. Make a copy of the current one before you start editing it. That way you can always switch back if you want. Towards the end of the file you will see a bunch of urls for each of the groups, including the one for base you mentioned. You just need to change the main part of the url for each link. For example, to pull items in the base group from my server, you would change that link to: http://dos.lod.bz/repos/current/base And so on for each link. > Brandon Taylor :-) Jerome > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Mateusz Viste schreef op 12-10-2013 21:52: > argument). So for such need, a full-blown script (like the one you did) > will probably be inevitable anyway... I'm lazy, so prefer INSTALL KERNEL instead of remembering to type FDNPKG INSTALL KERNEL. Even for a single package thus :) Something like the following works nicely: INSTALL KERNEL COMMAND JEMMEX Now only some intelligent script to actually create AUTOEXEC.BAT (and config.sys) so some kind of configuration is done after installation. Bernd -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
That's true - IIRC, there are a few packages in BASE that lack sources (these are the few packages that I dumped long ago from the FreeDOS 1.0 CD). I will look into this matter when I will have a moment. Unfortunately it won't be soon, but I'll try to straighten this issue by the end of the year. About installation of several packages: I guess you are investigating some "installer" options here :) but for such need, I think that the possible ability of FDNPKG to install several packages would be useless anyway, because of the limitation of the command line length (you would not be able to call fdnpkg with the list of all packages as an argument). So for such need, a full-blown script (like the one you did) will probably be inevitable anyway... Mateusz On 10/12/2013 09:42 PM, Bernd Blaauw wrote: > Mateusz Viste schreef op 12-10-2013 21:28: > >> This could be an interesting feature. It doesn't make as much sense as >> in a linux distro, because there is no dependencies between FreeDOS >> packages, but it could be nice anyway to be able to install a few >> packages in one command (especially when they are related.. for example >> djgpp-make, djgpp-gcc and djgpp-doc..). >> I will definitely think about it. > > I used that posted batchfile as INSTALL.BAT, went to the BASE directory > of your ISO, and simply did a INSTALL *.* so all of the BASE directory > gets installed from CD/ISO to systemdisk/ramdisk. > > I think Tom mentioned the ISO wasn't entirely license-compliant yet for > all listed software due to missing sources for several packages. That's > what usually stops me from offering/redistributing what I create. > > Bernd > -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Mateusz Viste schreef op 12-10-2013 21:28: > This could be an interesting feature. It doesn't make as much sense as > in a linux distro, because there is no dependencies between FreeDOS > packages, but it could be nice anyway to be able to install a few > packages in one command (especially when they are related.. for example > djgpp-make, djgpp-gcc and djgpp-doc..). > I will definitely think about it. I used that posted batchfile as INSTALL.BAT, went to the BASE directory of your ISO, and simply did a INSTALL *.* so all of the BASE directory gets installed from CD/ISO to systemdisk/ramdisk. I think Tom mentioned the ISO wasn't entirely license-compliant yet for all listed software due to missing sources for several packages. That's what usually stops me from offering/redistributing what I create. Bernd -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Hello Bernd, On 10/12/2013 05:01 PM, Bernd Blaauw wrote: > Does the program have to write all the "mkdir" lines all the time when > installing a package? I'd expect only the non-existing ones to be listed. Indeed, this is useless. It never bothered me, but you are right - it's useless, and it takes place on the screen for nothing. I will fix this in the future version of FDNPKG. > Also is it possible to install multiple packages using a single command > like Linux can? (something like "apt-get install x y z") This could be an interesting feature. It doesn't make as much sense as in a linux distro, because there is no dependencies between FreeDOS packages, but it could be nice anyway to be able to install a few packages in one command (especially when they are related.. for example djgpp-make, djgpp-gcc and djgpp-doc..). I will definitely think about it. Thank you for your suggestions! Mateusz -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Mateusz Viste schreef op 12-10-2013 16:52: > Hi Marcos, > > That's great, I'm glad you sorted it out :) Does the program have to write all the "mkdir" lines all the time when installing a package? I'd expect only the non-existing ones to be listed. >>mkdir C:\FDOS\doc\fdnpkg\ instead of: >>mkdir C:\FDOS\appinfo\ >>mkdir C:\FDOS\bin\ >>mkdir C:\FDOS\doc\ >>mkdir C:\FDOS\doc\fdnpkg\ >>mkdir C:\FDOS\nls\ Also is it possible to install multiple packages using a single command like Linux can? (something like "apt-get install x y z") Bernd PS: A batchfile would work as well for that: @echo off goto loop :loop if "%1"=="" goto end for %%x in ( *.* ) do if "%%x"=="%1" do FDNPKG INSTALL %1 shift goto loop :end -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Hi Marcos, That's great, I'm glad you sorted it out :) cheers, Mateusz On 10/12/2013 02:54 PM, Marcos Favero Florence de Barros wrote: > Hi Mateusz, > >> FDNPKG was not 'installed' before, but just wildly decompressed > > ! > >> The solution is to move all the files that you decompressd >> manually somewhere else, and then run "fdnpkg install fdnpkg" >> to install fdnpkg for real :) > > It worked, as we can see by the messages: > > Downloading... 552671 bytes > mkdir C:\FDOS\appinfo\ > mkdir C:\FDOS\bin\ > mkdir C:\FDOS\doc\ > mkdir C:\FDOS\doc\fdnpkg\ > mkdir C:\FDOS\nls\ > nls\fdnpkg.sl -> C:\FDOS\nls\ > nls\fdnpkg.en -> C:\FDOS\nls\ > doc\fdnpkg\history.txt -> C:\FDOS\doc\fdnpkg\ > doc\fdnpkg\license.txt -> C:\FDOS\doc\fdnpkg\ > doc\fdnpkg\fdnpkg.txt -> C:\FDOS\doc\fdnpkg\ > bin\fdnpkg.exe -> C:\FDOS\bin\ > bin\fdnpkg.cfg -> C:\FDOS\bin\ > appinfo\fdnpkg.lsm -> C:\FDOS\appinfo\ > Package fdnpkg installed (without sources). > > Thanks, > > Marcos > > > -- > Marcos Fávero Florence de Barros > Campinas, Brazil > > > > -- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Hi Mateusz, > FDNPKG was not 'installed' before, but just wildly decompressed ! > The solution is to move all the files that you decompressd > manually somewhere else, and then run "fdnpkg install fdnpkg" > to install fdnpkg for real :) It worked, as we can see by the messages: Downloading... 552671 bytes mkdir C:\FDOS\appinfo\ mkdir C:\FDOS\bin\ mkdir C:\FDOS\doc\ mkdir C:\FDOS\doc\fdnpkg\ mkdir C:\FDOS\nls\ nls\fdnpkg.sl -> C:\FDOS\nls\ nls\fdnpkg.en -> C:\FDOS\nls\ doc\fdnpkg\history.txt -> C:\FDOS\doc\fdnpkg\ doc\fdnpkg\license.txt -> C:\FDOS\doc\fdnpkg\ doc\fdnpkg\fdnpkg.txt -> C:\FDOS\doc\fdnpkg\ bin\fdnpkg.exe -> C:\FDOS\bin\ bin\fdnpkg.cfg -> C:\FDOS\bin\ appinfo\fdnpkg.lsm -> C:\FDOS\appinfo\ Package fdnpkg installed (without sources). Thanks, Marcos -- Marcos Fávero Florence de Barros Campinas, Brazil -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Okay, that's it then. FDNPKG was not 'installed' before, but just wildly decompressed, so FDNPKG can't know where these files come from, and won't take the risk to overwrite something potentially valuable. This is also the reason why FDNPKG can't find any update for itself. Because, simply, you technically have no 'fdnpkg' package at all. The solution is to move all the files that you decompressd manually somewhere else, and then run "fdnpkg install fdnpkg" to install fdnpkg for real :) cheers, Mateusz On 10/10/2013 07:56 PM, Marcos Favero Florence de Barros wrote: > Hi Mateusz, > >> Can you tell me what is the version of your current FDNPKG tool? >> And how have you installed it the first time? > > Current version is v0.95. > > I don't remember how I installed it. However, the fdnpkg95.zip > file is in my hard drive, so the installation was presumably > done by manually decompressing that file. > > >> What do the command 'fdnpk checkupdates' say (if you are on >> v0.94 or newer)? > > 'checkupdates' says: > > Configuring through DHCP..Loading > http://www.ibiblio.org/pub/micro/pc-stuff/free > dos/files/distributions/1.1/repos/base/... > Loading > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1. > 1/repos/archivers/... > Loading > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1. > 1/repos/devel/... > Loading > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1. > 1/repos/util/... > Loading > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1. > 1/repos/net/... > Loading > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1. > 1/repos/emulators/... > Loading > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1. > 1/repos/games/... > 0 package update(s) found. > > >> Are the files that make the update fail (FDOS\appinfo\fdnpkg.lsm >> and FDOS\BIN\fdnpkg.exe) listed in the >> %DOSDIR%\packages\fdnpkg.lst ? > > There is no fdnpkg.lst file anywhere in the C drive. The > C:\FDOS\PACKAGES\ folder contains only 3 files: > > mbedit.lst > md5sum.lst > xcopy.lst > > > Cheers, > > Marcos > > -- > Marcos Fávero Florence de Barros > Campinas, Brazil > > > > -- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FDNPKG update
Hi Marcos, That's interesting. It looks like your current FDNPKG installation is not recognized as a package, so FDNPKG don't want to touch these old files, because it thinks that they belong to something else than the package in older version. What do the command 'fdnpk checkupdates' say (if you are on v0.94 or newer)? Can you tell me what is the version of your current FDNPKG tool? And how have you installed it the first time? Are the files that make the update fail (FDOS\appinfo\fdnpkg.lsm and FDOS\BIN\fdnpkg.exe) listed in the %DOSDIR%\packages\fdnpkg.lst ? cheers, Mateusz On 10/10/2013 05:50 PM, Marcos Favero Florence de Barros wrote: > Hi Mateusz, > > I have not been able to update FDNPKG using FDNPKG itself. Am I > doing something wrong? > > Command line was: > > C:\FDOS\BIN\fdnpkg.exe update fdnpkg > > The internet connection is OK, as shown by this message: > > Downloading... 552671 bytes > > However, after downloading is finished, error messages like > these appear: > > Error: Package contains a file that already exists locally: > C:\FDOS\appinfo\fdnpkg.lsm > > or: > > Error: Package contains a file that already exists locally: > C:\FDOS\BIN\fdnpkg.exe > > Marcos > > > -- > Marcos Fávero Florence de Barros > Campinas, Brazil > > > > > -- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user