abraunegg / onedrive

OneDrive Client for Linux
https://abraunegg.github.io
GNU General Public License v3.0
9.97k stars 859 forks source link

Bug: Install on Debian 12 fails #2653

Closed mrtnggnn closed 7 months ago

mrtnggnn commented 7 months ago

Describe the bug

Following the recommended steps to install on Debian 12 from OpenSuse Build Service fails. After adding the repository key and the repository, updating and upgrading everything, running the install command produces the following output:

martin@Martin-P14s:~$ sudo apt install --no-install-recommends --no-install-suggests onedrive
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libphobos2-ldc-shared100
The following NEW packages will be installed:
  libphobos2-ldc-shared100 onedrive
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 670 kB/1,952 kB of archives.
After this operation, 8,919 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/Debian_12 ./ onedrive 2.4.25-1+np1 [670 kB]
Err:1 https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/Debian_12 ./ onedrive 2.4.25-1+np1
  File has unexpected size (670428 != 670420). Mirror sync in progress? [IP: 91.193.113.70 443]
  Hashes of expected file:
   - SHA256:a6855b6a3072b04074abb0e23903b3348b7dcf0e5a5e18c96f07981894583047
   - SHA1:486506a9527958cfb40e1f209be60ebd16cfab97 [weak]
   - MD5Sum:51b0e98b4024fcd1d088980611e09ce8 [weak]
   - Filesize:670420 [weak]
E: Failed to fetch https://provo-mirror.opensuse.org/repositories/home%3A/npreining%3A/debian-ubuntu-onedrive/Debian_12/amd64/onedrive_2.4.25-1%2Bnp1_amd64.deb  File has unexpected size (670428 != 670420). Mirror sync in progress? [IP: 91.193.113.70 443]
   Hashes of expected file:
    - SHA256:a6855b6a3072b04074abb0e23903b3348b7dcf0e5a5e18c96f07981894583047
    - SHA1:486506a9527958cfb40e1f209be60ebd16cfab97 [weak]
    - MD5Sum:51b0e98b4024fcd1d088980611e09ce8 [weak]
    - Filesize:670420 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

--fix-missing didn't help.

Operating System Details

martin@Martin-P14s:~$ uname -a
Linux Martin-P14s 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
martin@Martin-P14s:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm

Client Installation Method

From 3rd Party Source (PPA, OpenSuSE Build Service etc)

OneDrive Account Type

Business | Office365

What is your OneDrive Application Version

n/a

What is your OneDrive Application Configuration

n/a

What is your 'curl' version

martin@Martin-P14s:~$ curl --version
curl 7.88.1 (x86_64-pc-linux-gnu) libcurl/7.88.1 OpenSSL/3.0.11 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3 OpenLDAP/2.5.13
Release-Date: 2023-02-20, security patched: 7.88.1-10+deb12u5
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

Where is your 'sync_dir' located

Local

What are all your system 'mount points'

not relevant - installation problem

What are all your local file system partition types

NAME        FSTYPE FSVER LABEL     UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0                                                                         0   100% /snap/bare/5
loop1                                                                         0   100% /snap/core/16202
loop2                                                                         0   100% /snap/core/16574
loop3                                                                         0   100% /snap/core18/2796
loop4                                                                         0   100% /snap/core22/1033
loop5                                                                         0   100% /snap/core18/2812
loop6                                                                         0   100% /snap/core22/1122
loop7                                                                         0   100% /snap/gnome-3-28-1804/198
loop8                                                                         0   100% /snap/gnome-42-2204/132
loop9                                                                         0   100% /snap/gnome-42-2204/141
loop10                                                                        0   100% /snap/gtk-common-themes/1535
loop11                                                                        0   100% /snap/hey-mail/23
loop12                                                                        0   100% /snap/hey-mail/24
loop13                                                                        0   100% /snap/thunderbird/429
loop14                                                                        0   100% /snap/thunderbird/432
nvme0n1                                                                                
├─nvme0n1p1 vfat   FAT32 SYSTEM    D2F8-87DD                             213.4M    17% /boot/efi
├─nvme0n1p2                                                                            
├─nvme0n1p3 ntfs         Windows   3A20FAEB20FAAD4F                                    
├─nvme0n1p4 ntfs         WinRE_DRV CA4AFB254AFB0D47                                    
├─nvme0n1p5 ext4   1.0             cfe4dd03-752b-4f55-a89c-6d86f4929211   16.9G    77% /
└─nvme0n1p6 swap   1               db663cc0-cf57-4265-a2ac-d4a543758c16                [SWAP]

How do you use 'onedrive'

not relevant - installation problem

Steps to reproduce the behaviour

Follow the instructions for installation on Debian 12 from OpenSuse Build Service.

Complete Verbose Log Output

not relevant - installation problem

Screenshots

No response

Other Log Information or Details

No response

Additional context

No response

abraunegg commented 7 months ago

@mrtnggnn This is not a bug. Please be mindful of what is a bug and what is not a bug.

Your issue relates to the mirror you are using you install the application.

You need to:

Additionally, this is raised constantly - a simple search would have given you the information you need.

mrtnggnn commented 7 months ago

@abraunegg Installing packages from third parties is something many Debian/Ubuntu users don't do on a regular basis. An installation procedure that doesn't work is a bug. I understand there's not much you can do about it, but a clue in the installation procedure would certainly help and prevent this issue to be raised constantly.

abraunegg commented 7 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.