abraunegg / onedrive

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

Bug: onedrive will not install with install instructions #2271

Closed 69dragons closed 1 year ago

69dragons commented 1 year ago

Describe the bug

$sudo apt install --no-install-recommends --no-install-suggests onedrive
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 onedrive : Depends: libphobos2-ldc-shared98 (>= 1:1.28.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Operating System Details

Linux burt 5.19.0-26-generic #27-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 23 20:44:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.10
Release:        22.10
Codename:       kinetic

Client Installation Method

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

OneDrive Account Type

Personal

What is your OneDrive Application Version

Command 'onedrive' not found, but can be installed with: sudo apt install onedrive

What is your OneDrive Application Configuration

Command 'onedrive' not found, but can be installed with:
sudo apt install onedrive

What is your 'curl' version

curl 7.85.0 (x86_64-pc-linux-gnu) libcurl/7.85.0 OpenSSL/3.0.5 zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.3 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.49.0 librtmp/2.3
Release-Date: 2022-08-31
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'

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=7972484k,nr_inodes=1993121,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1606684k,mode=755,inode64)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16131)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/var/lib/snapd/snaps/core20_1738.snap on /snap/core20/1738 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/bare_5.snap on /snap/bare/5 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core20_1623.snap on /snap/core20/1623 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/firefox_1969.snap on /snap/firefox/1969 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-3-38-2004_119.snap on /snap/gnome-3-38-2004/119 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide,x-gvfs-hide)
/dev/sda2 on /var/snap/firefox/common/host-hunspell type ext4 (ro,noexec,noatime,errors=remount-ro)
/var/lib/snapd/snaps/gtk-common-themes_1535.snap on /snap/gtk-common-themes/1535 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_17883.snap on /snap/snapd/17883 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide,x-gvfs-hide)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdb1 on /home type ext4 (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1606680k,nr_inodes=401670,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1606684k,mode=755,inode64)
nsfs on /run/snapd/ns/firefox.mnt type nsfs (rw)

What are all your local file system partition types

NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0
     squash 4.0                                                    0   100% /snap/core20/1738
loop1
     squash 4.0                                                    0   100% /snap/core20/1623
loop2
     squash 4.0                                                    0   100% /snap/bare/5
loop3
     squash 4.0                                                    0   100% /snap/firefox/1969
loop4
     squash 4.0                                                    0   100% /snap/gnome-3-38-2004/119
loop5
     squash 4.0                                                    0   100% /snap/gtk-common-themes/1535
loop6
     squash 4.0                                                    0   100% /snap/snapd/17883
sda                                                                         
├─sda1
│    vfat   FAT32       2171-6578                             469.8M     1% /boot/efi
├─sda2
│    ext4   1.0         54c0b19b-39a4-43a2-8c57-07788cd610a0  391.7G     2% /var/snap/firefox/common/host-hunspell
│                                                                           /
└─sda3
     swap   1           2e424f77-d6bb-4ae3-b13a-2c848db77fde                [SWAP]
sdb                                                                         
└─sdb1
     ext4   1.0         500b281f-f649-442a-88d3-73932cc69746    2.7T    35% /home
sdc                                                                         
└─sdc1
     vfat   FAT32 MY NVME
                        8772-575E                                           
sdd                                                                         
├─sdd1
│    exfat  1.0   Ventoy
│                       101D-CF86                                           
└─sdd2
     vfat   FAT16 VTOYEFI
                        C559-2E5D

How do you use 'onedrive'

onedrive will not install but in the past when it did it was on local hard drive in the ~/OneDrive folder for local use only. I do have OneDrive syncing on other system with microsofts client.

Steps to reproduce the behaviour

sudo apt install --no-install-recommends --no-install-suggests onedrive

as per the instructions on the install.md page

Complete Verbose Log Output

$sudo apt install --no-install-recommends --no-install-suggests onedrive
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 onedrive : Depends: libphobos2-ldc-shared98 (>= 1:1.28.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Screenshots

No response

Other Log Information or Details

No response

Additional context

No response

abraunegg commented 1 year ago

@69dragons You are facing this error because you are trying to install from the Ubuntu Universe repositories. These repositories are not supported and contain obsolete client versions that contain issues - such as the one you are facing.

Please read:

69dragons commented 1 year ago

Then you should really change the information on the https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md page.

On Fri, Dec 23, 2022 at 2:36 AM abraunegg @.***> wrote:

@69dragons https://github.com/69dragons You are facing this error because you are trying to install from the Ubuntu Universe repositories. These repositories are not supported and contain obsolete client versions that contain issues - such as the one you are facing.

Please read:

— Reply to this email directly, view it on GitHub https://github.com/abraunegg/onedrive/issues/2271#issuecomment-1363696726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ5EREOC4I2JHOXFB5DA2LWOVJAPANCNFSM6AAAAAATHOZWXM . You are receiving this because you were mentioned.Message ID: @.***>

--

Everything counts, and so be kind.

abraunegg commented 1 year ago

Then you should really change the information on the https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md page.

Change what ? It is 100% accurate and correct and has been validated many times.

What do you think needs to be changed ?

Edit:

onedrive : Depends: libphobos2-ldc-shared98 (>= 1:1.28.0) but it is not installable

Duplicate issues + Prior Discussions references:

69dragons commented 1 year ago

Sorry, Holidays got in the way.

Well, while trying to reproduce the problem, going step by step today it worked flawlessly. So I looked back through my history to see what I did wrong the first time.

Turns out I used the older code from my notes instead of the code from the web page. (FACE PALM!)

Sorry about that, doesn't quite seem like enough, but I got nothing else.

So . . . Sorry about that!

On Fri, Dec 23, 2022 at 3:06 AM abraunegg @.***> wrote:

Then you should really change the information on the https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md page. … <#m4867065684593534756> On Fri, Dec 23, 2022 at 2:36 AM abraunegg @.*> wrote: @69dragons https://github.com/69dragons https://github.com/69dragons https://github.com/69dragons You are facing this error because you are trying to install from the Ubuntu Universe repositories. These repositories are not supported and contain obsolete client versions that contain issues

Change what ? It is 100% accurate and correct and has been validated many times.

What do you think needs to be changed ?

— Reply to this email directly, view it on GitHub https://github.com/abraunegg/onedrive/issues/2271#issuecomment-1363715326, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ5ERBTTSDCJVFDWLE35LTWOVMORANCNFSM6AAAAAATHOZWXM . You are receiving this because you were mentioned.Message ID: @.***>

--

Everything counts, and so be kind.

abraunegg commented 1 year ago

@69dragons No problem

Turns out I used the older code from my notes

Out of my curiosity what version were you testing from your notes?

69dragons commented 1 year ago

The previous Ubuntu 22. 04, also my notes seemed to have been incomplete. They were missing one of the repo lines. I don't remember which one now.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: abraunegg @.> Sent: Saturday, December 31, 2022 4:44:36 AM To: abraunegg/onedrive @.> Cc: 69dragons @.>; Mention @.> Subject: Re: [abraunegg/onedrive] Bug: onedrive will not install with install instructions (Issue #2271)

@69dragonshttps://github.com/69dragons No problem

Turns out I used the older code from my notes

Out of my curiosity what version were you testing from your notes?

— Reply to this email directly, view it on GitHubhttps://github.com/abraunegg/onedrive/issues/2271#issuecomment-1368192490, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ5ERD5WDSTWRD6IUWVSTDWP76AJANCNFSM6AAAAAATHOZWXM. You are receiving this because you were mentioned.Message ID: @.***>

abraunegg commented 1 year 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.