Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #227331 > unrolled thread

Internal error: couldn't generate list of packages to download

Started by"Stephen P. Molnar" <s.molnar@sbcglobal.net>
First post2020-09-25 13:50 +0200
Last post2020-09-28 19:20 +0200
Articles 20 on this page of 23 — 9 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-25 13:50 +0200
    Re: Internal error: couldn't generate list of packages to download Dan Ritter <dsr@randomstring.org> - 2020-09-25 14:50 +0200
      Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-25 15:10 +0200
        Re: Internal error: couldn't generate list of packages to download Greg Wooledge <wooledg@eeg.ccf.org> - 2020-09-25 15:20 +0200
          Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-25 15:40 +0200
            Re: Internal error: couldn't generate list of packages to download Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-25 17:20 +0200
          Re: Internal error: couldn't generate list of packages to download <tomas@tuxteam.de> - 2020-09-26 09:20 +0200
    Re: Internal error: couldn't generate list of packages to download Fabien Roucaute <fabien.roucaute@free.fr> - 2020-09-25 16:50 +0200
    Re: Internal error: couldn't generate list of packages to download Kushal Kumaran <kushal@locationd.net> - 2020-09-26 02:50 +0200
    Re: Internal error: couldn't generate list of packages to download The Wanderer <wanderer@fastmail.fm> - 2020-09-26 03:00 +0200
      Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-26 11:20 +0200
        Re: Internal error: couldn't generate list of packages to download The Wanderer <wanderer@fastmail.fm> - 2020-09-26 12:10 +0200
          Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-26 12:30 +0200
          Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-27 13:40 +0200
            Re: Internal error: couldn't generate list of packages to download Brian <ad44@cityscape.co.uk> - 2020-09-27 15:30 +0200
              Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-27 17:10 +0200
                Re: Internal error: couldn't generate list of packages to download Brian <ad44@cityscape.co.uk> - 2020-09-27 17:40 +0200
                Re: Internal error: couldn't generate list of packages to download Brian <ad44@cityscape.co.uk> - 2020-09-27 18:50 +0200
                  Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-27 19:10 +0200
                    Re: Internal error: couldn't generate list of packages to download Brian <ad44@cityscape.co.uk> - 2020-09-27 19:40 +0200
                      Re: Internal error: couldn't generate list of packages to download "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2020-09-28 15:50 +0200
                        Re: Internal error: couldn't generate list of packages to download Kushal Kumaran <kushal@locationd.net> - 2020-09-28 17:00 +0200
                          Re: Internal error: couldn't generate list of packages to download Brian <ad44@cityscape.co.uk> - 2020-09-28 19:20 +0200

Page 1 of 2  [1] 2  Next page →


#227331 — Internal error: couldn't generate list of packages to download

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-25 13:50 +0200
SubjectInternal error: couldn't generate list of packages to download
Message-ID<ASUoF-7Tw-3@gated-at.bofh.it>
I am running up-to-date Buster, unfortunately there seems to be a bit of 
a problem.

Normally I run the update process several times a week with the command 
sudo apr update && sudo apt upgrade. This morning this resulted in the 
error

The following partially installed packages will be configured:
   brscan4
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
After unpacking 0 B will be used.
E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
E: Internal error: couldn't generate list of packages to download
E: Perhaps the package lists are out of date, please try 'aptitude 
update' (or equivalent); otherwise some packages or versions are not 
available from the current repository sources

I reinstalled the Brother printer drivers, apparently barscan4 was not 
included. I contgaced Brother tech support, but was told that they did 
not support Linux.

I tried:

sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
sudo apt-get clean
sudo apt-get update

This resulted in a long list of get: (ellipses)    followed by my user 
prompt. Unfortunately, update generated the same errors.

At this point I don't have the faintest idea as to how to proceed. 
Pointers towards a solution to the problem will be much appreciated.

Thanks in advance.

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [next] | [standalone]


#227337

FromDan Ritter <dsr@randomstring.org>
Date2020-09-25 14:50 +0200
Message-ID<ASVkJ-8rY-3@gated-at.bofh.it>
In reply to#227331
Stephen P. Molnar wrote: 
> I am running up-to-date Buster, unfortunately there seems to be a bit of a
> problem.
> 
> Normally I run the update process several times a week with the command sudo
> apr update && sudo apt upgrade. This morning this resulted in the error
> 
> The following partially installed packages will be configured:
>   brscan4
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> E: Internal error: couldn't generate list of packages to download
> E: Perhaps the package lists are out of date, please try 'aptitude update'
> (or equivalent); otherwise some packages or versions are not available from
> the current repository sources
> 
> I reinstalled the Brother printer drivers, apparently barscan4 was not
> included. I contgaced Brother tech support, but was told that they did not
> support Linux.
> 
> I tried:
> 
> sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
> sudo apt-get clean
> sudo apt-get update
> 
> This resulted in a long list of get: (ellipses)    followed by my user
> prompt. Unfortunately, update generated the same errors.
> 
> At this point I don't have the faintest idea as to how to proceed. Pointers
> towards a solution to the problem will be much appreciated.

apt-get update   fetches package lists
apt-get upgrade  fetches and install packages

In this case, I think you have a problem with update, which
leads to the problem with upgrade.

Check your /etc/apt/sources.list and entries in
/etc/apt/sources.list.d/

Something probably is not responding. There are mirrors for most
repos, so pick different mirrors, or use 
http://deb.debian.org/debian/

-dsr-

[toc] | [prev] | [next] | [standalone]


#227340

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-25 15:10 +0200
Message-ID<ASVE5-m6-1@gated-at.bofh.it>
In reply to#227337

On 09/25/2020 08:49 AM, Dan Ritter wrote:
> Stephen P. Molnar wrote:
>> I am running up-to-date Buster, unfortunately there seems to be a bit of a
>> problem.
>>
>> Normally I run the update process several times a week with the command sudo
>> apr update && sudo apt upgrade. This morning this resulted in the error
>>
>> The following partially installed packages will be configured:
>>    brscan4
>> No packages will be installed, upgraded, or removed.
>> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>> After unpacking 0 B will be used.
>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>> E: Internal error: couldn't generate list of packages to download
>> E: Perhaps the package lists are out of date, please try 'aptitude update'
>> (or equivalent); otherwise some packages or versions are not available from
>> the current repository sources
>>
>> I reinstalled the Brother printer drivers, apparently barscan4 was not
>> included. I contgaced Brother tech support, but was told that they did not
>> support Linux.
>>
>> I tried:
>>
>> sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
>> sudo apt-get clean
>> sudo apt-get update
>>
>> This resulted in a long list of get: (ellipses)    followed by my user
>> prompt. Unfortunately, update generated the same errors.
>>
>> At this point I don't have the faintest idea as to how to proceed. Pointers
>> towards a solution to the problem will be much appreciated.
> apt-get update   fetches package lists
> apt-get upgrade  fetches and install packages
>
> In this case, I think you have a problem with update, which
> leads to the problem with upgrade.
>
> Check your /etc/apt/sources.list and entries in
> /etc/apt/sources.list.d/
>
> Something probably is not responding. There are mirrors for most
> repos, so pick different mirrors, or use
> http://deb.debian.org/debian/
>
> -dsr-
>
>
Many thanks for the quick response.

Here is my edited sources.list:

  deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main

# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main

deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security/ buster/updates main 
contrib non-free
deb-src http://security.debian.org/debian-security/ buster/updates main 
contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates non-free contrib main

Unfortunately, I got the same error list.

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#227341

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2020-09-25 15:20 +0200
Message-ID<ASVNL-ph-3@gated-at.bofh.it>
In reply to#227340
On Fri, Sep 25, 2020 at 09:08:09AM -0400, Stephen P. Molnar wrote:
> Here is my edited sources.list:

Your *what*?!

What do you mean, "edited"?  Do you mean, "here is a file that is not
my sources.list, but some part of it may be similar, and you get to guess
what the real one contains"?  How is that helpful?

How about: you post the ACTUAL sources.list file, plus any ACTUAL files
under sources.list.d.

Then, you post the ACTUAL command you are typing and its ACTUAL output.

(At this point, the most likely scenario is either "my secret sources.list
contains third-party repositories that are broken but I won't let you
know that", or "some of the files in /var/lib/apt/lists/ have become
corrupt".  Good luck figuring out which one is true when the information
needed to determine that is all kept from you.)

[toc] | [prev] | [next] | [standalone]


#227343

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-25 15:40 +0200
Message-ID<ASW77-vh-1@gated-at.bofh.it>
In reply to#227341

On 09/25/2020 09:13 AM, Greg Wooledge wrote:
> On Fri, Sep 25, 2020 at 09:08:09AM -0400, Stephen P. Molnar wrote:
>> Here is my edited sources.list:
> Your *what*?!
>
> What do you mean, "edited"?  Do you mean, "here is a file that is not
> my sources.list, but some part of it may be similar, and you get to guess
> what the real one contains"?  How is that helpful?
>
> How about: you post the ACTUAL sources.list file, plus any ACTUAL files
> under sources.list.d.
>
> Then, you post the ACTUAL command you are typing and its ACTUAL output.
>
> (At this point, the most likely scenario is either "my secret sources.list
> contains third-party repositories that are broken but I won't let you
> know that", or "some of the files in /var/lib/apt/lists/ have become
> corrupt".  Good luck figuring out which one is true when the information
> needed to determine that is all kept from you.)
>
>
Sorry, nonexistent proof reading.

Here are the requested files

sources.list:

# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main

# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main

deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security/ buster/updates main 
contrib non-free
deb-src http://security.debian.org/debian-security/ buster/updates main 
contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates non-free contrib main


Contents of /etc/apt/sourceslist.d:

dropbox.list
google-chrome.list
google-earth-pro.list
mendeleydesktop.list
skype-stable.list
vscode.list


-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#227352

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-09-25 17:20 +0200
Message-ID<ASXFT-1x7-5@gated-at.bofh.it>
In reply to#227343

[Multipart message — attachments visible in raw view] — view raw

On Vi, 25 sep 20, 09:32:27, Stephen P. Molnar wrote:
> > 
> Sorry, nonexistent proof reading.
> 
> Here are the requested files
> 
> sources.list:
> 
> # deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1
> 20190908-01:09]/ buster contrib main
> 
> # deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1
> 20190908-01:09]/ buster contrib main
> 
> deb http://deb.debian.org/debian/ buster main non-free contrib
> deb-src http://deb.debian.org/debian/ buster main non-free contrib
> 
> deb http://security.debian.org/debian-security/ buster/updates main contrib
> non-free
> deb-src http://security.debian.org/debian-security/ buster/updates main
> contrib non-free

These should be two long lines. Are the line breaks here in the file or 
added by your mail program? In order to prevent any mangling please 
*attach* the file (yes, the mailing list does accept attachments of 
reasonable size).
 
> # buster-updates, previously known as 'volatile'
> deb http://deb.debian.org/debian/ buster-updates main contrib non-free
> deb-src http://deb.debian.org/debian/ buster-updates non-free contrib main
> 
> 
> Contents of /etc/apt/sourceslist.d:
                             ^^^ I'm guessing you missed a dot here

> dropbox.list
> google-chrome.list
> google-earth-pro.list
> mendeleydesktop.list
> skype-stable.list
> vscode.list

Please attach these as well in addition to full and unedited output of 
'apt update'.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#227385

From<tomas@tuxteam.de>
Date2020-09-26 09:20 +0200
Message-ID<ATcEV-25z-3@gated-at.bofh.it>
In reply to#227341

[Multipart message — attachments visible in raw view] — view raw

On Fri, Sep 25, 2020 at 09:13:28AM -0400, Greg Wooledge wrote:
> On Fri, Sep 25, 2020 at 09:08:09AM -0400, Stephen P. Molnar wrote:
> > Here is my edited sources.list:
> 
> Your *what*?!

[...]

Greg, your knowledge is invaluable here. And while I do agree
with the content of your post, the form is... uh, could be
improved.

Cheers
 - t

[toc] | [prev] | [next] | [standalone]


#227348

FromFabien Roucaute <fabien.roucaute@free.fr>
Date2020-09-25 16:50 +0200
Message-ID<ASXcR-17T-3@gated-at.bofh.it>
In reply to#227331
Le 25/09/2020 à 13:48, Stephen P. Molnar a écrit :
> I am running up-to-date Buster, unfortunately there seems to be a bit of
> a problem.
> 
> Normally I run the update process several times a week with the command
> sudo apr update && sudo apt upgrade. This morning this resulted in the
> error
> 
> The following partially installed packages will be configured:
>   brscan4
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> E: Internal error: couldn't generate list of packages to download
> E: Perhaps the package lists are out of date, please try 'aptitude
> update' (or equivalent); otherwise some packages or versions are not
> available from the current repository sources
> 
> I reinstalled the Brother printer drivers, apparently barscan4 was not
> included. I contgaced Brother tech support, but was told that they did
> not support Linux.
> 
> I tried:
> 
> sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
> sudo apt-get clean
> sudo apt-get update
> 
> This resulted in a long list of get: (ellipses)    followed by my user
> prompt. Unfortunately, update generated the same errors.
> 
> At this point I don't have the faintest idea as to how to proceed.
> Pointers towards a solution to the problem will be much appreciated.
> 
> Thanks in advance.
> 

Look like a package that is a dependency to barscan4 have been updated
to version that need barscan4 to be at least the version 0.4.8-1, but
barscan4 is not on the debian repositories. I think you have to download
it and install it manually.

[toc] | [prev] | [next] | [standalone]


#227375

FromKushal Kumaran <kushal@locationd.net>
Date2020-09-26 02:50 +0200
Message-ID<AT6zv-6Gj-3@gated-at.bofh.it>
In reply to#227331
On Fri, Sep 25 2020 at 07:48:28 AM, "Stephen P. Molnar" <s.molnar@sbcglobal.net> wrote:
> I am running up-to-date Buster, unfortunately there seems to be a bit
> of a problem.
>
> Normally I run the update process several times a week with the
> command sudo apr update && sudo apt upgrade. This morning this
> resulted in the error
>
> The following partially installed packages will be configured:
>   brscan4
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> E: Internal error: couldn't generate list of packages to download
> E: Perhaps the package lists are out of date, please try 'aptitude
> update' (or equivalent); otherwise some packages or versions are not
> available from the current repository sources
>
> I reinstalled the Brother printer drivers, apparently barscan4 was not
> included. I contgaced Brother tech support, but was told that they did
> not support Linux.

brscan4 is the package with the scanner driver.  That is provided as a
separate download.  In my setup, it did not have a debian repository; it
was provided as a bare .deb download.

>
> I tried:
>
> sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
> sudo apt-get clean
> sudo apt-get update
>
> This resulted in a long list of get: (ellipses)    followed by my user
> prompt. Unfortunately, update generated the same errors.
>
> At this point I don't have the faintest idea as to how to
> proceed. Pointers towards a solution to the problem will be much
> appreciated.
>

Try dpkg --configure -a to finish configuration for partially installed
packages.

If your device is supported by
https://github.com/alexpevzner/sane-airscan, you can just switch to that
and ditch the Brother software.

-- 
regards,
kushal

[toc] | [prev] | [next] | [standalone]


#227376

FromThe Wanderer <wanderer@fastmail.fm>
Date2020-09-26 03:00 +0200
Message-ID<AT6Jb-6JU-3@gated-at.bofh.it>
In reply to#227331

[Multipart message — attachments visible in raw view] — view raw

On 2020-09-25 at 07:48, Stephen P. Molnar wrote:

> I am running up-to-date Buster, unfortunately there seems to be a bit of 
> a problem.
> 
> Normally I run the update process several times a week with the command 
> sudo apr update && sudo apt upgrade.
         ^

I'm presuming this is a pure mail-writing typo.

> This morning this resulted in the error
> 
> The following partially installed packages will be configured:
>    brscan4

As I think at least one other person has noted, this does not appear to
be available in the Debian archives, at least not as far as I've managed
to determine.

> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'

To my eye, this looks as if something is telling apt that version
0.4.8-1 is available somewhere, and the upgrade session is deciding that
it needs to install that version, but then none of the configured
sources include that version (and it's not already cached locally).

What do

$ apt-cache policy brscan4
$ apt-cache rdepends brscan4

say?

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

[toc] | [prev] | [next] | [standalone]


#227388

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-26 11:20 +0200
Message-ID<ATex3-3cl-1@gated-at.bofh.it>
In reply to#227376

On 09/25/2020 08:53 PM, The Wanderer wrote:
> On 2020-09-25 at 07:48, Stephen P. Molnar wrote:
>
>> I am running up-to-date Buster, unfortunately there seems to be a bit of
>> a problem.
>>
>> Normally I run the update process several times a week with the command
>> sudo apr update && sudo apt upgrade.
>           ^
>
> I'm presuming this is a pure mail-writing typo.
Correct.
>> This morning this resulted in the error
>>
>> The following partially installed packages will be configured:
>>     brscan4
> As I think at least one other person has noted, this does not appear to
> be available in the Debian archives, at least not as far as I've managed
> to determine.
That's correct. It is pat of the Brother Laser Printer driver package.
>> No packages will be installed, upgraded, or removed.
>> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>> After unpacking 0 B will be used.
>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> To my eye, this looks as if something is telling apt that version
> 0.4.8-1 is available somewhere, and the upgrade session is deciding that
> it needs to install that version, but then none of the configured
> sources include that version (and it's not already cached locally).
>
> What do
>
> $ apt-cache policy brscan4
> $ apt-cache rdepends brscan4
>
> say?
>
Thank you for your reply.

comp@AbNormal:~$ apt-cache policy brscan4
brscan4:
   Installed: 0.4.8-1
   Candidate: 0.4.8-1
   Version table:
  *** 0.4.8-1 100
         100 /var/lib/dpkg/status
comp@AbNormal:~$ apt-cache rdepends
E: No packages found

Suggestions?

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#227389

FromThe Wanderer <wanderer@fastmail.fm>
Date2020-09-26 12:10 +0200
Message-ID<ATfjs-3H9-5@gated-at.bofh.it>
In reply to#227388

[Multipart message — attachments visible in raw view] — view raw

On 2020-09-26 at 05:18, Stephen P. Molnar wrote:

> On 09/25/2020 08:53 PM, The Wanderer wrote:
> 
>> On 2020-09-25 at 07:48, Stephen P. Molnar wrote:

>>> This morning this resulted in the error
>>>
>>> The following partially installed packages will be configured:

I somehow managed to miss noticing this line before. I think it may be
the key to resolving the issue; see below.

>>>     brscan4
>> As I think at least one other person has noted, this does not appear to
>> be available in the Debian archives, at least not as far as I've managed
>> to determine.
>
> That's correct. It is pat of the Brother Laser Printer driver package.

Where did that come from? Did it (ever) have a repository configured, or
was it downloaded as a standalone .deb?

>>> No packages will be installed, upgraded, or removed.
>>> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>>> After unpacking 0 B will be used.
>>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>> To my eye, this looks as if something is telling apt that version
>> 0.4.8-1 is available somewhere, and the upgrade session is deciding that
>> it needs to install that version, but then none of the configured
>> sources include that version (and it's not already cached locally).
>>
>> What do
>>
>> $ apt-cache policy brscan4
>> $ apt-cache rdepends brscan4
>>
>> say?
>>
> Thank you for your reply.
> 
> comp@AbNormal:~$ apt-cache policy brscan4
> brscan4:
>    Installed: 0.4.8-1
>    Candidate: 0.4.8-1
>    Version table:
>   *** 0.4.8-1 100
>          100 /var/lib/dpkg/status

That confirms (as I suppose was presumable) that there are no sources
for *any* version of brscan4 in any configured repository.

> comp@AbNormal:~$ apt-cache rdepends
> E: No packages found

Did you leave off the package name from this command?

> Suggestions?

I think we still don't have enough information to be sure of what's
going on, but...

Do you still have the .deb for brscan4 0.4.8-1 around?

If so, you could try any or all of:

* Reinstall it with 'dpkg -i /path/to/brscan4_0.4.8-1.deb'. That should
trigger the package to be configured automatically, and with that
configuration complete, apt should theoretically no longer think that it
needs to do anything with this package and therefore no longer see any
need to download it.

* Copy that .deb into /var/cache/apt/archives/ (if it's not already
there), so that apt might notice that it doesn't need to download it
because there's already a local copy. (This might need some other
command to be run in between, but I couldn't say what just offhand.)

* Uninstall brscan4, run the upgrade, then install it again via the same
reinstall command as suggested above. That both would let you proceed
with whatever other package upgrades there might be, and should resolve
the half-configured status.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

[toc] | [prev] | [next] | [standalone]


#227390

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-26 12:30 +0200
Message-ID<ATfCO-3NP-23@gated-at.bofh.it>
In reply to#227389

On 09/26/2020 06:06 AM, The Wanderer wrote:
> On 2020-09-26 at 05:18, Stephen P. Molnar wrote:
>
>> On 09/25/2020 08:53 PM, The Wanderer wrote:
>>
>>> On 2020-09-25 at 07:48, Stephen P. Molnar wrote:
>>>> This morning this resulted in the error
>>>>
>>>> The following partially installed packages will be configured:
> I somehow managed to miss noticing this line before. I think it may be
> the key to resolving the issue; see below.
>
>>>>      brscan4
>>> As I think at least one other person has noted, this does not appear to
>>> be available in the Debian archives, at least not as far as I've managed
>>> to determine.
>> That's correct. It is pat of the Brother Laser Printer driver package.
> Where did that come from? Did it (ever) have a repository configured, or
> was it downloaded as a standalone .deb?
>
>>>> No packages will be installed, upgraded, or removed.
>>>> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>>>> After unpacking 0 B will be used.
>>>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>>> To my eye, this looks as if something is telling apt that version
>>> 0.4.8-1 is available somewhere, and the upgrade session is deciding that
>>> it needs to install that version, but then none of the configured
>>> sources include that version (and it's not already cached locally).
>>>
>>> What do
>>>
>>> $ apt-cache policy brscan4
>>> $ apt-cache rdepends brscan4
>>>
>>> say?
>>>
>> Thank you for your reply.
>>
>> comp@AbNormal:~$ apt-cache policy brscan4
>> brscan4:
>>     Installed: 0.4.8-1
>>     Candidate: 0.4.8-1
>>     Version table:
>>    *** 0.4.8-1 100
>>           100 /var/lib/dpkg/status
> That confirms (as I suppose was presumable) that there are no sources
> for *any* version of brscan4 in any configured repository.
>
>> comp@AbNormal:~$ apt-cache rdepends
>> E: No packages found
> Did you leave off the package name from this command?
>
>> Suggestions?
> I think we still don't have enough information to be sure of what's
> going on, but...
>
> Do you still have the .deb for brscan4 0.4.8-1 around?
>
> If so, you could try any or all of:
>
> * Reinstall it with 'dpkg -i /path/to/brscan4_0.4.8-1.deb'. That should
> trigger the package to be configured automatically, and with that
> configuration complete, apt should theoretically no longer think that it
> needs to do anything with this package and therefore no longer see any
> need to download it.
>
> * Copy that .deb into /var/cache/apt/archives/ (if it's not already
> there), so that apt might notice that it doesn't need to download it
> because there's already a local copy. (This might need some other
> command to be run in between, but I couldn't say what just offhand.)
>
> * Uninstall brscan4, run the upgrade, then install it again via the same
> reinstall command as suggested above. That both would let you proceed
> with whatever other package upgrades there might be, and should resolve
> the half-configured status.
>
Thank you for your suggestions.

You're correct, I did omit the file make.. Here's what happens:

comp@AbNormal:~$ apt-cache policy brscan4
brscan4:
   Installed: 0.4.8-1
   Candidate: 0.4.8-1
   Version table:
  *** 0.4.8-1 100
         100 /var/lib/dpkg/status
comp@AbNormal:~$ apt-cache rdepends brscan4
brscan4

I have some other commitments today, but will try your suggestions as 
soon as possible.
Reverse Depends:

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#227413

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-27 13:40 +0200
Message-ID<ATDc5-Y1-5@gated-at.bofh.it>
In reply to#227389

On 09/26/2020 06:06 AM, The Wanderer wrote:
> On 2020-09-26 at 05:18, Stephen P. Molnar wrote:
>
>> On 09/25/2020 08:53 PM, The Wanderer wrote:
>>
>>> On 2020-09-25 at 07:48, Stephen P. Molnar wrote:
>>>> This morning this resulted in the error
>>>>
>>>> The following partially installed packages will be configured:
> I somehow managed to miss noticing this line before. I think it may be
> the key to resolving the issue; see below.
>
>>>>      brscan4
>>> As I think at least one other person has noted, this does not appear to
>>> be available in the Debian archives, at least not as far as I've managed
>>> to determine.
>> That's correct. It is pat of the Brother Laser Printer driver package.
> Where did that come from? Did it (ever) have a repository configured, or
> was it downloaded as a standalone .deb?
>
>>>> No packages will be installed, upgraded, or removed.
>>>> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>>>> After unpacking 0 B will be used.
>>>> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
>>> To my eye, this looks as if something is telling apt that version
>>> 0.4.8-1 is available somewhere, and the upgrade session is deciding that
>>> it needs to install that version, but then none of the configured
>>> sources include that version (and it's not already cached locally).
>>>
>>> What do
>>>
>>> $ apt-cache policy brscan4
>>> $ apt-cache rdepends brscan4
>>>
>>> say?
>>>
>> Thank you for your reply.
>>
>> comp@AbNormal:~$ apt-cache policy brscan4
>> brscan4:
>>     Installed: 0.4.8-1
>>     Candidate: 0.4.8-1
>>     Version table:
>>    *** 0.4.8-1 100
>>           100 /var/lib/dpkg/status
> That confirms (as I suppose was presumable) that there are no sources
> for *any* version of brscan4 in any configured repository.
>
>> comp@AbNormal:~$ apt-cache rdepends
>> E: No packages found
> Did you leave off the package name from this command?
>
>> Suggestions?
> I think we still don't have enough information to be sure of what's
> going on, but...
>
> Do you still have the .deb for brscan4 0.4.8-1 around?
>
> If so, you could try any or all of:
>
> * Reinstall it with 'dpkg -i /path/to/brscan4_0.4.8-1.deb'. That should
> trigger the package to be configured automatically, and with that
> configuration complete, apt should theoretically no longer think that it
> needs to do anything with this package and therefore no longer see any
> need to download it.
comp@AbNormal:~/Downloads/Brother$ sudo dpkg -i brscan4-0.4.8-1.amd64.deb
(Reading database ... 421150 files and directories currently installed.)
Preparing to unpack brscan4-0.4.8-1.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: 
/opt/brother/scanner/brscan4/setupSaneScan4: not found
/var/lib/dpkg/info/brscan4.prerm: 4: /var/lib/dpkg/info/brscan4.prerm: 
/opt/brother/scanner/brscan4/udev_uninstall.sh: not found
rm: cannot remove '/opt/brother/scanner/brscan4/udev_uninstall.sh': No 
such file or directory
dpkg: warning: old brscan4 package pre-removal script subprocess 
returned error exit status 1
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: 
/opt/brother/scanner/brscan4/setupSaneScan4: not found
/var/lib/dpkg/tmp.ci/prerm: 4: /var/lib/dpkg/tmp.ci/prerm: 
/opt/brother/scanner/brscan4/udev_uninstall.sh: not found
rm: cannot remove '/opt/brother/scanner/brscan4/udev_uninstall.sh': No 
such file or directory
dpkg: error processing archive brscan4-0.4.8-1.amd64.deb (--install):
  new brscan4 package pre-removal script subprocess returned error exit 
status 1
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: 
/var/lib/dpkg/info/brscan4.postinst: 
/opt/brother/scanner/brscan4/setupSaneScan4: not found
/var/lib/dpkg/info/brscan4.postinst: 19: 
/var/lib/dpkg/info/brscan4.postinst: 
/opt/brother/scanner/brscan4/udev_config.sh: not found
dpkg: error while cleaning up:
  installed brscan4 package post-installation script subprocess returned 
error exit status 127
Errors were encountered while processing:
  brscan4-0.4.8-1.amd64.deb
comp@AbNormal:~/Downloads/Brother$

>
> * Copy that .deb into /var/cache/apt/archives/ (if it's not already
> there), so that apt might notice that it doesn't need to download it
> because there's already a local copy. (This might need some other
> command to be run in between, but I couldn't say what just offhand.)
I had already copied the .deb to that location.
> * Uninstall brscan4, run the upgrade, then install it again via the same
> reinstall command as suggested above. That both would let you proceed
> with whatever other package upgrades there might be, and should resolve
> the half-configured status.
>
comp@AbNormal:~/Downloads/Brother$ sudo ./uninstaller_brscan4
[sudo] password for comp:
dpkg: error processing package brscan4 (--purge):
  package is in a very bad inconsistent state; you should
  reinstall it before attempting a removal
Errors were encountered while processing:
  brscan4
rm: cannot remove 
'/etc/udev/rules.d/60-brother-libsane-type1-inst.rules': No such file or 
directory

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#227418

FromBrian <ad44@cityscape.co.uk>
Date2020-09-27 15:30 +0200
Message-ID<ATEUx-22c-3@gated-at.bofh.it>
In reply to#227413
On Sun 27 Sep 2020 at 07:32:20 -0400, Stephen P. Molnar wrote:

> /opt/brother/scanner/brscan4/setupSaneScan4: not found
> /var/lib/dpkg/info/brscan4.postinst: 19:
> /var/lib/dpkg/info/brscan4.postinst:
> /opt/brother/scanner/brscan4/udev_config.sh: not found

You have checked whether tose files exist or not?

  ls -l /opt/brother/scanner/brscan4/setupSaneScan4
  ls -l /opt/brother/scanner/brscan4/udev_config.sh

If not, you can cheat by extracting them from the the deb package,
putting them where they are looked for and then running

  apt purge brscan4

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#227421

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-27 17:10 +0200
Message-ID<ATGtj-33l-1@gated-at.bofh.it>
In reply to#227418

On 09/27/2020 09:21 AM, Brian wrote:
> On Sun 27 Sep 2020 at 07:32:20 -0400, Stephen P. Molnar wrote:
>
>> /opt/brother/scanner/brscan4/setupSaneScan4: not found
>> /var/lib/dpkg/info/brscan4.postinst: 19:
>> /var/lib/dpkg/info/brscan4.postinst:
>> /opt/brother/scanner/brscan4/udev_config.sh: not found
> You have checked whether tose files exist or not?
>
>    ls -l /opt/brother/scanner/brscan4/setupSaneScan4
>    ls -l /opt/brother/scanner/brscan4/udev_config.sh
>
> If not, you can cheat by extracting them from the the deb package,
> putting them where they are looked for and then running
>
>    apt purge brscan4
>
Thank you for your response.

Both files were missing.


I followed your suggestion, extracted the deb and copied the files to 
/opt/brother/scanner.  However, sudo apt purge brscan4 I got:

comp@AbNormal:~/Downloads/Brother/tmp$ sudo  apt purge brscan4
[sudo] password for comp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package brscan4 needs to be reinstalled, but I can't find an 
archive for it.

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#227422

FromBrian <ad44@cityscape.co.uk>
Date2020-09-27 17:40 +0200
Message-ID<ATGWm-3cT-15@gated-at.bofh.it>
In reply to#227421
On Sun 27 Sep 2020 at 11:01:42 -0400, Stephen P. Molnar wrote:

> 
> 
> On 09/27/2020 09:21 AM, Brian wrote:
> > On Sun 27 Sep 2020 at 07:32:20 -0400, Stephen P. Molnar wrote:
> > 
> > > /opt/brother/scanner/brscan4/setupSaneScan4: not found
> > > /var/lib/dpkg/info/brscan4.postinst: 19:
> > > /var/lib/dpkg/info/brscan4.postinst:
> > > /opt/brother/scanner/brscan4/udev_config.sh: not found
> > You have checked whether tose files exist or not?
> > 
> >    ls -l /opt/brother/scanner/brscan4/setupSaneScan4
> >    ls -l /opt/brother/scanner/brscan4/udev_config.sh
> > 
> > If not, you can cheat by extracting them from the the deb package,
> > putting them where they are looked for and then running
> > 
> >    apt purge brscan4
> > 
> Thank you for your response.
> 
> Both files were missing.
> 
> 
> I followed your suggestion, extracted the deb and copied the files to
> /opt/brother/scanner.  However, sudo apt purge brscan4 I got:

We hope you meant /opt/brother/scanner/brscan4.

You can also use 'dpkg -P brscan4' instead of the apt command. Not that
should make any difference to the outcome.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#227423

FromBrian <ad44@cityscape.co.uk>
Date2020-09-27 18:50 +0200
Message-ID<ATI26-3Q4-13@gated-at.bofh.it>
In reply to#227421
On Sun 27 Sep 2020 at 11:01:42 -0400, Stephen P. Molnar wrote:

> I followed your suggestion, extracted the deb and copied the files to
> /opt/brother/scanner.  However, sudo apt purge brscan4 I got:
> 
> comp@AbNormal:~/Downloads/Brother/tmp$ sudo  apt purge brscan4
> [sudo] password for comp:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: The package brscan4 needs to be reinstalled, but I can't find an archive
> for it.

Let's assume /opt/brother/scanner is a typo and have a glance at
dpkg(1).

  reinstreq
         A  package marked reinstreq is broken and requires reinstallation.
         These packages cannot be removed, unless forced with option
         --force-remove-reinstreq.

And later in the manual:

  remove-reinstreq: Remove a package, even if it's broken and marked to
  require reinstallation. This  may, for example, cause parts of the
  package to remain on the system, which will then be forgotten by dpkg.

We could try removing the reinstall request status from the package with

 sudo dpkg --remove --force-remove-reinstreq brscan4

and then have a go at

 sudo dpkg -P brscan4

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#227424

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2020-09-27 19:10 +0200
Message-ID<ATIlr-4d3-9@gated-at.bofh.it>
In reply to#227423

On 09/27/2020 12:44 PM, Brian wrote:
> On Sun 27 Sep 2020 at 11:01:42 -0400, Stephen P. Molnar wrote:
>
>> I followed your suggestion, extracted the deb and copied the files to
>> /opt/brother/scanner.  However, sudo apt purge brscan4 I got:
>>
>> comp@AbNormal:~/Downloads/Brother/tmp$ sudo  apt purge brscan4
>> [sudo] password for comp:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: The package brscan4 needs to be reinstalled, but I can't find an archive
>> for it.
> Let's assume /opt/brother/scanner is a typo and have a glance at
> dpkg(1).
>
>    reinstreq
>           A  package marked reinstreq is broken and requires reinstallation.
>           These packages cannot be removed, unless forced with option
>           --force-remove-reinstreq.
>
> And later in the manual:
>
>    remove-reinstreq: Remove a package, even if it's broken and marked to
>    require reinstallation. This  may, for example, cause parts of the
>    package to remain on the system, which will then be forgotten by dpkg.
>
> We could try removing the reinstall request status from the package with
>
>   sudo dpkg --remove --force-remove-reinstreq brscan4
>
> and then have a go at
>
>   sudo dpkg -P brscan4
>
Halla...bloody...ulla!  It worked!!

sudo apt update and sudo apt upgrade worked without a burp or any 
warnings or errors.

If you ever need any molecular modeling done give me a hollar. That I 
can do without nearly as many problems.

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#227426

FromBrian <ad44@cityscape.co.uk>
Date2020-09-27 19:40 +0200
Message-ID<ATIOu-4mq-17@gated-at.bofh.it>
In reply to#227424
On Sun 27 Sep 2020 at 13:09:02 -0400, Stephen P. Molnar wrote:

> 
> 
> On 09/27/2020 12:44 PM, Brian wrote:
> > On Sun 27 Sep 2020 at 11:01:42 -0400, Stephen P. Molnar wrote:
> > 
> > > I followed your suggestion, extracted the deb and copied the files to
> > > /opt/brother/scanner.  However, sudo apt purge brscan4 I got:
> > > 
> > > comp@AbNormal:~/Downloads/Brother/tmp$ sudo  apt purge brscan4
> > > [sudo] password for comp:
> > > Reading package lists... Done
> > > Building dependency tree
> > > Reading state information... Done
> > > E: The package brscan4 needs to be reinstalled, but I can't find an archive
> > > for it.
> > Let's assume /opt/brother/scanner is a typo and have a glance at
> > dpkg(1).
> > 
> >    reinstreq
> >           A  package marked reinstreq is broken and requires reinstallation.
> >           These packages cannot be removed, unless forced with option
> >           --force-remove-reinstreq.
> > 
> > And later in the manual:
> > 
> >    remove-reinstreq: Remove a package, even if it's broken and marked to
> >    require reinstallation. This  may, for example, cause parts of the
> >    package to remain on the system, which will then be forgotten by dpkg.
> > 
> > We could try removing the reinstall request status from the package with
> > 
> >   sudo dpkg --remove --force-remove-reinstreq brscan4
> > 
> > and then have a go at
> > 
> >   sudo dpkg -P brscan4
> > 
> Halla...bloody...ulla!  It worked!!

Splendid!

> sudo apt update and sudo apt upgrade worked without a burp or any warnings
> or errors.
> 
> If you ever need any molecular modeling done give me a hollar. That I can do
> without nearly as many problems.

Npthing to do with your issue, but what is your Brother model?

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web