Re: [PLUG] Still having issues with grub-pc
On Fri, 18 Jun 2021 23:55:21 -0700 Russell Senior dijo: >You don't have to reboot right away. All is well. Overnight the copy completed, so this morning I rebooted. Everything seems OK. I reinstalled an application and the process ended cleanly without the error messages about grub-pc. A thousand thanks for all your help!
Re: [PLUG] Still having issues with grub-pc
You don't have to reboot right away. On Fri, Jun 18, 2021 at 9:55 PM John Jason Jordan wrote: > > On Fri, 18 Jun 2021 20:31:50 -0700 > Russell Senior dijo: > > >How about an "sudo apt update" first? > > Omigod, there are updates available. Wait ... you knew that, didn't > you? > > So I installed them. They weren't listed in Synaptic, but the little > Ubuntu Update Manager had them, so I let it install them. But when it > finished it wanted me to restart the computer, and that is a problem > for the next three days. That's because I'm still trying to copy all my > work off the problem 128GB exFAT drive. It's finished only 31% of the > 13.9GB of files, and my calculations say about three more days, more or > less. I shouldn't have let it go this long, and there is no other > backup. > > I'd just kill the thing and finish it after rebooting, but it's not > copying them in alphabetical order. There are about 1400 files and it > would be a major pain to figure out which ones are already copied and > which are not. Maybe I can figure out a command to copy only if the > file is not already on the destination, 'cause otherwise there would be > hundreds of 'skip or overwrite?' error messages.
Re: [PLUG] Still having issues with grub-pc
On Fri, 18 Jun 2021 20:31:50 -0700 Russell Senior dijo: >How about an "sudo apt update" first? Omigod, there are updates available. Wait ... you knew that, didn't you? So I installed them. They weren't listed in Synaptic, but the little Ubuntu Update Manager had them, so I let it install them. But when it finished it wanted me to restart the computer, and that is a problem for the next three days. That's because I'm still trying to copy all my work off the problem 128GB exFAT drive. It's finished only 31% of the 13.9GB of files, and my calculations say about three more days, more or less. I shouldn't have let it go this long, and there is no other backup. I'd just kill the thing and finish it after rebooting, but it's not copying them in alphabetical order. There are about 1400 files and it would be a major pain to figure out which ones are already copied and which are not. Maybe I can figure out a command to copy only if the file is not already on the destination, 'cause otherwise there would be hundreds of 'skip or overwrite?' error messages.
Re: [PLUG] Still having issues with grub-pc
How about an "sudo apt update" first? On Fri, Jun 18, 2021 at 8:24 PM John Jason Jordan wrote: > > On Fri, 18 Jun 2021 20:10:34 -0700 > Russell Senior dijo: > > >Okay, try this: > > > > apt-get download grub-pc > > dpkg -i --debug=3 grub-pc*.deb > > E: Can't find a source to download version '2.04-1ubuntu26.4' of > 'grub-pc:amd64' > > I don't know why apt doesn't know where it is. Surely it must be able > to find it in order to install it. > > I looked in Synaptic, hoping to find where it's located. I didn't find > its location, but I note that it has a really long list of > dependencies, and there is also grub-pc-bin, one of the dependencies, > as well as grub-rescue-pc and grub-pc-dbg.
Re: [PLUG] Still having issues with grub-pc
On Fri, 18 Jun 2021 20:10:34 -0700 Russell Senior dijo: >Okay, try this: > > apt-get download grub-pc > dpkg -i --debug=3 grub-pc*.deb E: Can't find a source to download version '2.04-1ubuntu26.4' of 'grub-pc:amd64' I don't know why apt doesn't know where it is. Surely it must be able to find it in order to install it. I looked in Synaptic, hoping to find where it's located. I didn't find its location, but I note that it has a really long list of dependencies, and there is also grub-pc-bin, one of the dependencies, as well as grub-rescue-pc and grub-pc-dbg.
Re: [PLUG] Still having issues with grub-pc
Okay, try this: apt-get download grub-pc dpkg -i --debug=3 grub-pc*.deb On Fri, Jun 18, 2021 at 6:36 PM John Jason Jordan wrote: > > On Fri, 18 Jun 2021 15:39:31 -0700 > Russell Senior dijo: > > >On Fri, Jun 18, 2021 at 2:16 PM John Jason Jordan > >wrote: > >> > >> On Fri, 18 Jun 2021 13:36:41 -0700 > >> Russell Senior dijo: > >> > >> >On Fri, Jun 18, 2021 at 9:34 AM John Jason Jordan > >> >wrote: > >> >> > >> >> On Thu, 17 Jun 2021 22:35:13 -0700 > >> >> Russell Senior dijo: > >> >> > >> >> >Step 1: > >> >> > > >> >> > dpkg -l grub-pc > >> >> > > >> >> >which should give you the partially installed version you've > >> >> >got. > >> >> > >> >> The results are not at all clear: > >> >> dpkg -l grub-pc > >> >> Desired=Unknown/Install/Remove/Purge/Hold > >> >> |Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > >> >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ > >> >> Name Version Architecture Description > >> >> +++-==---==> > >> >> iF grub-pc2.04-1ubuntu26.4 amd64GRand Unified > >> >> Bootloader, version 2 (PC/BIOS versi> lines 1-6/6 (END) > >> >> > >> >> >Step 2: > >> >> > > >> >> > dpkg --debug=3 -i > >> >> >/var/cache/apt/archives/grub-pc_*.deb > >> > > >> >gmail misrendered that (supposed to be one line): > >> > > >> >sudo dpkg --debug=3 -i > >> >/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb > >> > > >> >(notice the version from the dpkg -l grub-pc in the .deb filename) > >> > >> Somethng's still wrong: > >> > >> sudo dpkg --debug=3 -i > >> /var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb dpkg: > >> error: cannot access archive > >> '/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb': No > >> such file or directory > >> > >> I carefully read every letter to make sure my copy/paste did it > >> right, but I must have messed up something. > >> > >Look in that directory (/var/cache/apt/archives/) for which > >grub-pc_*.deb files you *do* have. > > There are a lot of files there, but none that start with grub. I also > searched /var from the command line, and I got the following: > > locate grub-pc > /usr/share/bug/grub-pc > /usr/share/bug/grub-pc-bin > /usr/share/bug/grub-pc/presubj > /usr/share/bug/grub-pc/script > /usr/share/bug/grub-pc-bin/presubj > /usr/share/bug/grub-pc-bin/script > /usr/share/doc/grub-pc > /usr/share/doc/grub-pc-bin > /usr/share/lintian/overrides/grub-pc-bin > /var/crash/grub-pc.0.crash > /var/lib/dpkg/info/grub-pc-bin.list > /var/lib/dpkg/info/grub-pc-bin.md5sums > /var/lib/dpkg/info/grub-pc.config > /var/lib/dpkg/info/grub-pc.list > /var/lib/dpkg/info/grub-pc.md5sums > /var/lib/dpkg/info/grub-pc.postinst > /var/lib/dpkg/info/grub-pc.postrm > /var/lib/dpkg/info/grub-pc.preinst > /var/lib/dpkg/info/grub-pc.prerm > /var/lib/dpkg/info/grub-pc.templates > > The file /var/crash/grub-pc.0.crash is obviously interesting, so I > opened it in mousepad. It contains hundreds of pages of grub-pc errors, > and the one at the very top of the page was when I installed a program > 'sound converter' a few weeks ago, and at the end of the installation > there was the error message 'unable to configure grub-pc.' Well, I've > seen hundreds of those, so there's no point in wading through the file. > Mind you, there might be something more interesting, but I doubt I'd > accomplish much without knowing what to do a text search on. > > And all I searched was /var. If there are other places where we might > find clues let me know. Or if any of the other files above are > interesting I can look at them.
Re: [PLUG] Still having issues with grub-pc
On Fri, 18 Jun 2021 15:39:31 -0700 Russell Senior dijo: >On Fri, Jun 18, 2021 at 2:16 PM John Jason Jordan >wrote: >> >> On Fri, 18 Jun 2021 13:36:41 -0700 >> Russell Senior dijo: >> >> >On Fri, Jun 18, 2021 at 9:34 AM John Jason Jordan >> >wrote: >> >> >> >> On Thu, 17 Jun 2021 22:35:13 -0700 >> >> Russell Senior dijo: >> >> >> >> >Step 1: >> >> > >> >> > dpkg -l grub-pc >> >> > >> >> >which should give you the partially installed version you've >> >> >got. >> >> >> >> The results are not at all clear: >> >> dpkg -l grub-pc >> >> Desired=Unknown/Install/Remove/Purge/Hold >> >> |Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend >> >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ >> >> Name Version Architecture Description >> >> +++-==---==> >> >> iF grub-pc2.04-1ubuntu26.4 amd64GRand Unified >> >> Bootloader, version 2 (PC/BIOS versi> lines 1-6/6 (END) >> >> >> >> >Step 2: >> >> > >> >> > dpkg --debug=3 -i >> >> >/var/cache/apt/archives/grub-pc_*.deb >> > >> >gmail misrendered that (supposed to be one line): >> > >> >sudo dpkg --debug=3 -i >> >/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb >> > >> >(notice the version from the dpkg -l grub-pc in the .deb filename) >> >> Somethng's still wrong: >> >> sudo dpkg --debug=3 -i >> /var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb dpkg: >> error: cannot access archive >> '/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb': No >> such file or directory >> >> I carefully read every letter to make sure my copy/paste did it >> right, but I must have messed up something. >> >Look in that directory (/var/cache/apt/archives/) for which >grub-pc_*.deb files you *do* have. There are a lot of files there, but none that start with grub. I also searched /var from the command line, and I got the following: locate grub-pc /usr/share/bug/grub-pc /usr/share/bug/grub-pc-bin /usr/share/bug/grub-pc/presubj /usr/share/bug/grub-pc/script /usr/share/bug/grub-pc-bin/presubj /usr/share/bug/grub-pc-bin/script /usr/share/doc/grub-pc /usr/share/doc/grub-pc-bin /usr/share/lintian/overrides/grub-pc-bin /var/crash/grub-pc.0.crash /var/lib/dpkg/info/grub-pc-bin.list /var/lib/dpkg/info/grub-pc-bin.md5sums /var/lib/dpkg/info/grub-pc.config /var/lib/dpkg/info/grub-pc.list /var/lib/dpkg/info/grub-pc.md5sums /var/lib/dpkg/info/grub-pc.postinst /var/lib/dpkg/info/grub-pc.postrm /var/lib/dpkg/info/grub-pc.preinst /var/lib/dpkg/info/grub-pc.prerm /var/lib/dpkg/info/grub-pc.templates The file /var/crash/grub-pc.0.crash is obviously interesting, so I opened it in mousepad. It contains hundreds of pages of grub-pc errors, and the one at the very top of the page was when I installed a program 'sound converter' a few weeks ago, and at the end of the installation there was the error message 'unable to configure grub-pc.' Well, I've seen hundreds of those, so there's no point in wading through the file. Mind you, there might be something more interesting, but I doubt I'd accomplish much without knowing what to do a text search on. And all I searched was /var. If there are other places where we might find clues let me know. Or if any of the other files above are interesting I can look at them.
Re: [PLUG] Still having issues with grub-pc
On Fri, Jun 18, 2021 at 2:16 PM John Jason Jordan wrote: > > On Fri, 18 Jun 2021 13:36:41 -0700 > Russell Senior dijo: > > >On Fri, Jun 18, 2021 at 9:34 AM John Jason Jordan > >wrote: > >> > >> On Thu, 17 Jun 2021 22:35:13 -0700 > >> Russell Senior dijo: > >> > >> >Step 1: > >> > > >> > dpkg -l grub-pc > >> > > >> >which should give you the partially installed version you've got. > >> > >> The results are not at all clear: > >> dpkg -l grub-pc > >> Desired=Unknown/Install/Remove/Purge/Hold > >> |Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name > >> Version Architecture Description > >> +++-==---==> > >> iF grub-pc2.04-1ubuntu26.4 amd64GRand Unified > >> Bootloader, version 2 (PC/BIOS versi> lines 1-6/6 (END) > >> > >> >Step 2: > >> > > >> > dpkg --debug=3 -i > >> >/var/cache/apt/archives/grub-pc_*.deb > > > >gmail misrendered that (supposed to be one line): > > > >sudo dpkg --debug=3 -i > >/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb > > > >(notice the version from the dpkg -l grub-pc in the .deb filename) > > Somethng's still wrong: > > sudo dpkg --debug=3 -i > /var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb > dpkg: error: cannot access archive > '/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb': No such > file or directory > > I carefully read every letter to make sure my copy/paste did it right, > but I must have messed up something. > Look in that directory (/var/cache/apt/archives/) for which grub-pc_*.deb files you *do* have.
Re: [PLUG] Still having issues with grub-pc
On Fri, 18 Jun 2021 13:36:41 -0700 Russell Senior dijo: >On Fri, Jun 18, 2021 at 9:34 AM John Jason Jordan >wrote: >> >> On Thu, 17 Jun 2021 22:35:13 -0700 >> Russell Senior dijo: >> >> >Step 1: >> > >> > dpkg -l grub-pc >> > >> >which should give you the partially installed version you've got. >> >> The results are not at all clear: >> dpkg -l grub-pc >> Desired=Unknown/Install/Remove/Purge/Hold >> |Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name >> Version Architecture Description >> +++-==---==> >> iF grub-pc2.04-1ubuntu26.4 amd64GRand Unified >> Bootloader, version 2 (PC/BIOS versi> lines 1-6/6 (END) >> >> >Step 2: >> > >> > dpkg --debug=3 -i >> >/var/cache/apt/archives/grub-pc_*.deb > >gmail misrendered that (supposed to be one line): > >sudo dpkg --debug=3 -i >/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb > >(notice the version from the dpkg -l grub-pc in the .deb filename) Somethng's still wrong: sudo dpkg --debug=3 -i /var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb dpkg: error: cannot access archive '/var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb': No such file or directory I carefully read every letter to make sure my copy/paste did it right, but I must have messed up something.
Re: [PLUG] Still having issues with grub-pc
On Fri, Jun 18, 2021 at 9:34 AM John Jason Jordan wrote: > > On Thu, 17 Jun 2021 22:35:13 -0700 > Russell Senior dijo: > > >Step 1: > > > > dpkg -l grub-pc > > > >which should give you the partially installed version you've got. > > The results are not at all clear: > dpkg -l grub-pc > Desired=Unknown/Install/Remove/Purge/Hold > |Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name > Version Architecture Description > +++-==---==> > iF grub-pc2.04-1ubuntu26.4 amd64GRand Unified > Bootloader, version 2 (PC/BIOS versi> lines 1-6/6 (END) > > >Step 2: > > > > dpkg --debug=3 -i > >/var/cache/apt/archives/grub-pc_*.deb gmail misrendered that (supposed to be one line): sudo dpkg --debug=3 -i /var/cache/apt/archives/grub-pc_2.04-1ubuntu26.4_amd64.deb (notice the version from the dpkg -l grub-pc in the .deb filename)
Re: [PLUG] Still having issues with grub-pc
If you would not be hell set against totalComander - it has sftp plugin which allows me to copy files on/off my phone. It is probably faster than USB and definitely without the days of trouble you like going through. Ssh works on most Linux computers, so it is pretty easy to use for non windows people. -T On Fri, Jun 18, 2021, 12:34 John Jason Jordan wrote: > On Thu, 17 Jun 2021 22:35:13 -0700 > Russell Senior dijo: > > >Step 1: > > > > dpkg -l grub-pc > > > >which should give you the partially installed version you've got. > > The results are not at all clear: > dpkg -l grub-pc > Desired=Unknown/Install/Remove/Purge/Hold > > |Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name > Version Architecture Description > > +++-==---==> > iF grub-pc2.04-1ubuntu26.4 amd64GRand Unified > Bootloader, version 2 (PC/BIOS versi> lines 1-6/6 (END) > > >Step 2: > > > > dpkg --debug=3 -i > >/var/cache/apt/archives/grub-pc_*.deb > > > >According to dpkg --debug=help, --debug=3 turns on > > > > 1 general Generally helpful progress information > > 2 scripts Invocation and status of maintainer scripts > > dpkg --debug=3 -i > dpkg: error: requested operation requires superuser privilege > dpkg: error: --install needs at least one package archive file > argument > > So then I did: > > sudo dpkg --debug=3 -i grub-pc > dpkg: error: cannot access archive 'grub-pc': No such file or > directory > > That's as far as I got. >
Re: [PLUG] Still having issues with grub-pc
On Thu, 17 Jun 2021 22:35:13 -0700 Russell Senior dijo: >Step 1: > > dpkg -l grub-pc > >which should give you the partially installed version you've got. The results are not at all clear: dpkg -l grub-pc Desired=Unknown/Install/Remove/Purge/Hold |Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==---==> iF grub-pc2.04-1ubuntu26.4 amd64GRand Unified Bootloader, version 2 (PC/BIOS versi> lines 1-6/6 (END) >Step 2: > > dpkg --debug=3 -i >/var/cache/apt/archives/grub-pc_*.deb > >According to dpkg --debug=help, --debug=3 turns on > > 1 general Generally helpful progress information > 2 scripts Invocation and status of maintainer scripts dpkg --debug=3 -i dpkg: error: requested operation requires superuser privilege dpkg: error: --install needs at least one package archive file argument So then I did: sudo dpkg --debug=3 -i grub-pc dpkg: error: cannot access archive 'grub-pc': No such file or directory That's as far as I got.
Re: [PLUG] Still having issues with grub-pc
Step 1: dpkg -l grub-pc which should give you the partially installed version you've got. Step 2: dpkg --debug=3 -i /var/cache/apt/archives/grub-pc_*.deb According to dpkg --debug=help, --debug=3 turns on 1 general Generally helpful progress information 2 scripts Invocation and status of maintainer scripts Hopefully, that will give you more clues about what's going wrong. On Thu, Jun 17, 2021 at 10:23 PM Russell Senior wrote: > > You might have a look at this file: /var/lib/dpkg/info/grub-pc.postinst > > That's the post installation script that is exiting with an error status. > > On Thu, Jun 17, 2021 at 1:47 PM John Jason Jordan wrote: > > > > About a year ago, at the end of a dist-update (not an upgrade, just the > > usual updates) the Update Manager GUI application announced that it was > > unable to configure grub-pc. The problem remains. I can install or > > remove packages, but at the end I always get an error message that > > grub-pc could not be configured. The computer boots normally and > > everything works. > > > > I tried update-grub, which executed fine without error. But afterwards > > I still get the error message that grub-pc could not be configured. > > Today I also did sudo apt autoremove, which ended with: > > > > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > 1 not fully installed or removed. > > After this operation, 0 B of additional disk space will be used. > > Setting up grub-pc (2.04-1ubuntu26.4) ... > > dpkg: error processing package grub-pc (--configure): > > installed grub-pc package post-installation script subprocess returned > > error exit status 1 > > Errors were encountered while processing: > > grub-pc > > > > Then I did sudo apt reinstall grub-pc, which ended with: > > > > Setting up grub-pc (2.04-1ubuntu26.4) ... > > dpkg: error processing package grub-pc (--configure): > > installed grub-pc package post-installation script subprocess returned > > error exit status 1 > > Errors were encountered while processing: grub-pc > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > > I also tried dpkg --configure grub-pc, which executed normally until the > > end when it complained that it could not reconfigure grub-pc. And > > every time I invoke apt to install or remove a package, whether I do it > > from the command line or in a GUI (Update Manager, Synaptic) it always > > ends with a error message about grub-pc. > > > > I've been living with this for a long time and I'm tired of it.
Re: [PLUG] Still having issues with grub-pc
You might have a look at this file: /var/lib/dpkg/info/grub-pc.postinst That's the post installation script that is exiting with an error status. On Thu, Jun 17, 2021 at 1:47 PM John Jason Jordan wrote: > > About a year ago, at the end of a dist-update (not an upgrade, just the > usual updates) the Update Manager GUI application announced that it was > unable to configure grub-pc. The problem remains. I can install or > remove packages, but at the end I always get an error message that > grub-pc could not be configured. The computer boots normally and > everything works. > > I tried update-grub, which executed fine without error. But afterwards > I still get the error message that grub-pc could not be configured. > Today I also did sudo apt autoremove, which ended with: > > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > 1 not fully installed or removed. > After this operation, 0 B of additional disk space will be used. > Setting up grub-pc (2.04-1ubuntu26.4) ... > dpkg: error processing package grub-pc (--configure): > installed grub-pc package post-installation script subprocess returned > error exit status 1 > Errors were encountered while processing: > grub-pc > > Then I did sudo apt reinstall grub-pc, which ended with: > > Setting up grub-pc (2.04-1ubuntu26.4) ... > dpkg: error processing package grub-pc (--configure): > installed grub-pc package post-installation script subprocess returned > error exit status 1 > Errors were encountered while processing: grub-pc > E: Sub-process /usr/bin/dpkg returned an error code (1) > > I also tried dpkg --configure grub-pc, which executed normally until the > end when it complained that it could not reconfigure grub-pc. And > every time I invoke apt to install or remove a package, whether I do it > from the command line or in a GUI (Update Manager, Synaptic) it always > ends with a error message about grub-pc. > > I've been living with this for a long time and I'm tired of it.