Menu

#64 Error : cannot close /etc/upstream-release

v1.0_(example)
closed
nobody
None
5
2024-08-02
2024-07-29
No

After upgrading from Linux Mint 21.3 to to Linux Mint 22, I have the following error when launching gscan2pdf : "Error : cannot close /etc/upstream-release".

Note that If I rename the directory with the following command :
"sudo mv /etc/upstream-release /etc/upstream-release0", the error disappears.

Any idea ?

Discussion

  • Jeffrey Ratcliffe

    You have stumbled across this bug: https://sourceforge.net/p/gscan2pdf/bugs/430/

     
  • Jeffrey Ratcliffe

    Did you install gscan2pdf from the Mint repo or the gscan2pdf PPA?

     
  • Wolfgang

    Wolfgang - 2024-07-30

    Good morning,
    Mint has the required upstream information
    /etc/upstream-release/lsb-release
    As a workaround, I adjusted the path in line 193 in gscan2pdf:
    my @files = glob '/etc/upstream-release/*-release';
    greeting
    wolfgang

     

    Last edit: Wolfgang 2024-07-31
  • Poirier Dominique

    I installed first from the Mint repository, then from the PPA. I got the error in both cases.

    But now, after changing the line "my @files = glob '/etc/*-release';" to "my @files = glob '/etc/lsb-release';" in line 193 of file gscan2pdf, the problem is solved.

    Many thanks.

     
  • Matthias Sprau

    Matthias Sprau - 2024-07-30

    Hi Jeffrey,
    I installed 2.13.3 per PPA on LinuxMint 22, have the same problem.
    Here the detailed information on the forum for you:
    https://www.linuxmintusers.de/index.php?topic=82317.msg1066103#new
    Perhaps the PPA could be updated in that way, that no manuel commands are neccessary
    Regards

     

    Last edit: Matthias Sprau 2024-07-30
  • Matthias Sprau

    Matthias Sprau - 2024-08-02

    Hi Jeffrey, thanks for the fast patch. It works as good as always!
    Ticket can be closed.

     
  • Jeffrey Ratcliffe

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB