apt: command not found (!..)

Questions about software.
User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

apt: command not found (!..)

Postby EliaSXK91 » 09 May 2019 21:07

All right, fellow SolydXk users!..

Here i am again,
with another issue i just came up to,
when trying to update my system from bloody adjustments-8 to 9!..

I started from this point
viewtopic.php?p=69984#p69984

+this is what it outputs me:

Code: Select all

elias@solydxk ~ $ for D in $(dpkg-divert --list solydk-system-adjustments | awk '{print $3}'); do sudo dpkg-divert --remove $D; sudo mv -f "$D.divert" "$D" 2>/dev/null; done
[sudo] password for elias: 
Συγνώμη, δοκιμάστε ξανά.
[sudo] password for elias: 
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/stripes.png to /usr/share/wallpapers/stripes.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1280x1024.png to /usr/share/wallpapers/joy/contents/images/1280x1024.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1920x1080.png to /usr/share/wallpapers/joy/contents/images/1920x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Elarun/contents/screenshot.png to /usr/share/wallpapers/Elarun/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/screenshot.png to /usr/share/wallpapers/Lines/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1920x1080.png to /usr/share/wallpapers/joy_inksplat/contents/images/1920x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x800.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x800.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1280x1024.png to /usr/share/wallpapers/Lines/contents/images/1280x1024.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/screenshot.png to /usr/share/wallpapers/joy_inksplat/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1600x1200.png to /usr/share/wallpapers/joy/contents/images/1600x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1600x1200.png to /usr/share/wallpapers/Lines/contents/images/1600x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1600x1200.png to /usr/share/wallpapers/joy_inksplat/contents/images/1600x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1920x1080.png to /usr/share/wallpapers/Lines/contents/images/1920x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Elarun/contents/images/2560x1600.png to /usr/share/wallpapers/Elarun/contents/images/2560x1600.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1024x768.png to /usr/share/wallpapers/joy_inksplat/contents/images/1024x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/2560x1080.png to /usr/share/wallpapers/Lines/contents/images/2560x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1280x800.png to /usr/share/wallpapers/joy/contents/images/1280x800.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1920x1200.png to /usr/share/wallpapers/joy/contents/images/1920x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/kde4/apps/plasma-desktop/init/10-desktop-base.js to /usr/share/kde4/apps/plasma-desktop/init/10-desktop-base.js.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/metadata.desktop to /usr/share/wallpapers/joy/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/screenshot.png to /usr/share/wallpapers/joy/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1366x768.png to /usr/share/wallpapers/joy/contents/images/1366x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1024x768.png to /usr/share/wallpapers/joy/contents/images/1024x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/metadata.desktop to /usr/share/wallpapers/Lines/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1024x768.png to /usr/share/wallpapers/Lines/contents/images/1024x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1920x1200.png to /usr/share/wallpapers/Lines/contents/images/1920x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/metadata.desktop to /usr/share/wallpapers/joy_inksplat/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Elarun/metadata.desktop to /usr/share/wallpapers/Elarun/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1366x768.png to /usr/share/wallpapers/joy_inksplat/contents/images/1366x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js to /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/kde4/apps/plasma-desktop/updates/addShowActivitiesManagerPlasmoid.js to /usr/share/kde4/apps/plasma-desktop/updates/addShowActivitiesManagerPlasmoid.js.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1920x1200.png to /usr/share/wallpapers/joy_inksplat/contents/images/1920x1200.png.divert by solydk-system-adjustments'
elias@solydxk ~ $ apt purge solydk-system-adjustments*
No command 'apt' found, did you mean:
 Command 'aptd' from package 'aptdaemon' (main)
 Command 'opt' from package 'llvm' (main)
 Command 'atp' from package 'atp' (main)
 Command 'apm' from package 'apmd' (main)
 Command 'apf' from package 'apf-firewall' (main)
 Command 'apg' from package 'apg' (main)
 Command 'gpt' from package 'gpt' (main)
 Command 'ant' from package 'ant' (main)
 Command 'at' from package 'at' (main)
 Command 'pat' from package 'dist' (main)
 Command 'aft' from package 'aft' (main)
apt: command not found
elias@solydxk ~ $ 
...Which means, i cannot proceed further to next commands purge, install etc.

So, where do we go from here?!.. :?
EliaSXK91,
speaking!..

kurotsugi
Posts: 2228
Joined: 09 Jan 2014 00:17

Re: apt: command not found (!..)

Postby kurotsugi » 10 May 2019 00:48

you still could use either apt-get or aptitude command

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt: command not found (!..)

Postby Arjen Balfoort » 10 May 2019 05:15

Run these commands in terminal:

Code: Select all

sudo apt-get install --reinstall apt
sudo apt-get install --reinstall solydxk-system


SolydXK needs you!
Development | Testing | Translations

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 18 May 2019 11:47

Arjen Balfoort wrote:
10 May 2019 05:15
Run these commands in terminal:

Code: Select all

sudo apt-get install --reinstall apt
sudo apt-get install --reinstall solydxk-system
Thanks a lot fellows
+my apologies for being so late to deal with my issue+answer back to your goodwill resolving with my input,
as 1st, i didn't happen to deal with this PC earlier
+2nd, i didn't get any email notification answer back to my post!..
(for i reckon i forgot to tick the appropriate "Notify me when a reply is posted" box
in order to be driven earlier into logging in anyway!.. :facepalm: )

So, anyhow+better late than never,
here's what it outputs me:

Code: Select all

elias@solydxk ~ $ sudo apt-get install --reinstall apt
[sudo] password for elias: 
Συγνώμη, δοκιμάστε ξανά.
[sudo] password for elias: 
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common inotify-tools
  libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 1 επανεγκατεστημένα,0 θα αφαιρεθούν και 7 δεν αναβαθμίζονται.
Χρειάζεται να μεταφορτωθούν 0 B/1232 kB από αρχεία.
Μετά από αυτή τη λειτουργία, θα χρησιμοποιηθούν 0 B χώρου από το δίσκο.
(Ανάγνωση βάσης δεδομένων ... 297335 files and directories currently installed.)
Preparing to unpack .../archives/apt_1.4.9_amd64.deb ...
Unpacking apt (1.4.9) over (1.4.9) ...
Γίνεται εγκατάσταση apt (1.4.9) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for man-db (2.7.6.1-2) ...
elias@solydxk ~ $ sudo apt-get install --reinstall solydxk-system
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  ayatana-indicator-application ayatana-indicator-common inotify-tools libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
Τα ακόλουθα ΝΕΑ πακέτα θα εγκατασταθούν:
  solydxk-system
0 αναβαθμίστηκαν, 1 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 7 δεν αναβαθμίζονται.
Χρειάζεται να μεταφορτωθούν 831 kB από αρχεία.
Μετά από αυτή τη λειτουργία, θα χρησιμοποιηθούν 2186 kB χώρου από το δίσκο.
Φέρε:1 https://repository.solydxk.com solydxk-9/main amd64 solydxk-system all 3.2.9 [831 kB]
Μεταφορτώθηκαν 831 kB σε 2s (351 kB/s)  
Selecting previously unselected package solydxk-system.
(Ανάγνωση βάσης δεδομένων ... 297335 files and directories currently installed.)
Preparing to unpack .../solydxk-system_3.2.9_all.deb ...
Unpacking solydxk-system (3.2.9) ...
dpkg: error processing archive /var/cache/apt/archives/solydxk-system_3.2.9_all.deb (--unpack):
 trying to overwrite '/etc/skel/.gnupg/gpg.conf', which is also in package solydk-system-adjustments-8 2.7.3
dpkg-deb: error: subprocess paste was killed by signal (Διακοπείσα σωλήνωση)
Removing 'diversion of /usr/bin/apt to /usr/bin/apt.divert by solydxk-system'
Προέκυψαν σφάλματα κατά την επεξεργασία του:
 /var/cache/apt/archives/solydxk-system_3.2.9_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
elias@solydxk ~ $ 
Always looking forward for your input,
as proper as it gets for my right+in-time keep up of your valid response+solution, fellas!.. :)
EliaSXK91,
speaking!..

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt: command not found (!..)

Postby Arjen Balfoort » 18 May 2019 12:05

You forgot to either remove:

Code: Select all

sudo apt-get purge solydk-system-adjustments-8
or remove the diversions as mentioned in this post: viewtopic.php?p=69984#p69984


SolydXK needs you!
Development | Testing | Translations

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 18 May 2019 12:20

Arjen Balfoort wrote:
18 May 2019 12:05
You forgot to either remove:

Code: Select all

sudo apt-get purge solydk-system-adjustments-8
or remove the diversions as mentioned in this post: viewtopic.php?p=69984#p69984
...It doesn't seem to work either way, mate... :?

Code: Select all

elias@solydxk ~ $ sudo apt-get purge solydk-system-adjustments-8
[sudo] password for elias: 
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common
  evolvere-icon-theme-blue-folders-flat-vivid inotify-tools libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
Τα ακόλουθα πακέτα θα ΑΦΑΙΡΕΘΟΥΝ:
  solydk-system-adjustments-8*
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 1 θα αφαιρεθούν και 7 δεν αναβαθμίζονται.
Μετά από αυτή τη λειτουργία, θα ελευθερωθούν 9705 kB χώρου από το δίσκο.
Θέλετε να συνεχίσετε; [Ν/ο] Ν
(Ανάγνωση βάσης δεδομένων ... 297334 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
find: ‘/etc/xdg/menus/debian-menu.menu’: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
dpkg: error processing package solydk-system-adjustments-8 (--remove):
 η υποδιεργασία installed pre-removal script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
 solydk-system-adjustments-8
E: Sub-process /usr/bin/dpkg returned an error code (1)
elias@solydxk ~ $ for D in $(dpkg-divert --list solydk-system-adjustments | awk '{print $3}'); do sudo dpkg-divert --remove $D; sudo mv -f "$D.divert" "$D" 2>/dev/null; done
elias@solydxk ~ $ for D in $(dpkg-divert --list solydk-system-adjustments-8 | awk '{print $3}'); do sudo dpkg-divert --remove $D; sudo mv -f "$D.divert" "$D" 2>/dev/null; done
elias@solydxk ~ $ for D in $(dpkg-divert --list solydk-system-adjustments | awk '{print $3}'); do sudo dpkg-divert --remove $D; sudo mv -f "$D.divert" "$D" 2>/dev/null; done
elias@solydxk ~ $ for D in $(dpkg-divert --list solydk-system-adjustments-8 | awk '{print $3}'); do sudo dpkg-divert --remove $D; sudo mv -f "$D.divert" "$D" 2>/dev/null; done
elias@solydxk ~ $ sudo apt-get purge solydk-system-adjustments-8
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common
  evolvere-icon-theme-blue-folders-flat-vivid inotify-tools libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
Τα ακόλουθα πακέτα θα ΑΦΑΙΡΕΘΟΥΝ:
  solydk-system-adjustments-8*
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 1 θα αφαιρεθούν και 7 δεν αναβαθμίζονται.
Μετά από αυτή τη λειτουργία, θα ελευθερωθούν 9705 kB χώρου από το δίσκο.
Θέλετε να συνεχίσετε; [Ν/ο] Ν
(Ανάγνωση βάσης δεδομένων ... 297334 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
find: ‘/etc/xdg/menus/debian-menu.menu’: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
dpkg: error processing package solydk-system-adjustments-8 (--remove):
 η υποδιεργασία installed pre-removal script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
 solydk-system-adjustments-8
E: Sub-process /usr/bin/dpkg returned an error code (1)
elias@solydxk ~ $ apt purge solydk-system-adjustments*
E: Αδύνατο το άνοιγμα του αρχείου κλειδώματος /var/lib/dpkg/lock - open (13: Άρνηση πρόσβασης)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
elias@solydxk ~ $ 
EliaSXK91,
speaking!..

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt: command not found (!..)

Postby Arjen Balfoort » 18 May 2019 13:44

Please, update solydk-system-adjustments-8 before trying to uninstall that package:

Code: Select all

sudo apt-get update
sudo apt-get install solydk-system-adjustments-8
sudo apt-get purge solydk-system-adjustments-8


SolydXK needs you!
Development | Testing | Translations

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 21 May 2019 11:23

Arjen Balfoort wrote:
18 May 2019 13:44
Please, update solydk-system-adjustments-8 before trying to uninstall that package:

Code: Select all

sudo apt-get update
sudo apt-get install solydk-system-adjustments-8
sudo apt-get purge solydk-system-adjustments-8
Ran them,
but it outputs another error...: :|

Code: Select all

Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
solydk-system-adjustments-8 is already the newest version (2.7.3).
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common inotify-tools
  libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
elias@solydxk ~ $ sudo apt-get purge solydk-system-adjustments-8
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common
  evolvere-icon-theme-blue-folders-flat-vivid inotify-tools libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
Τα ακόλουθα πακέτα θα ΑΦΑΙΡΕΘΟΥΝ:
  solydk-system-adjustments-8*
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 1 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
Μετά από αυτή τη λειτουργία, θα ελευθερωθούν 9705 kB χώρου από το δίσκο.
Θέλετε να συνεχίσετε; [Ν/ο] Ν
(Ανάγνωση βάσης δεδομένων ... 297334 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
find: ‘/etc/xdg/menus/debian-menu.menu’: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
dpkg: error processing package solydk-system-adjustments-8 (--remove):
 η υποδιεργασία installed pre-removal script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
 solydk-system-adjustments-8
E: Sub-process /usr/bin/dpkg returned an error code (1)
elias@solydxk ~ $ 
EliaSXK91,
speaking!..

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt: command not found (!..)

Postby Arjen Balfoort » 22 May 2019 08:36

Sorry for the late response.

What about temporarily creating the missing file:

Code: Select all

touch /etc/xdg/menus/debian-menu.menu
sudo apt-get install solydk-system-adjustments-8
sudo apt-get purge solydk-system-adjustments-8


SolydXK needs you!
Development | Testing | Translations

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 22 May 2019 10:18

Arjen Balfoort wrote:
22 May 2019 08:36
Sorry for the late response.

What about temporarily creating the missing file:

Code: Select all

touch /etc/xdg/menus/debian-menu.menu
sudo apt-get install solydk-system-adjustments-8
sudo apt-get purge solydk-system-adjustments-8
ASAP is better for everybody,
but each one of us has got his own *possible*,
from time to time+from place to place...

Ran them too mate,
but bumped into another error...: :facepalm:

Code: Select all

elias@solydxk ~ $ touch /etc/xdg/menus/debian-menu.menu
touch: cannot touch '/etc/xdg/menus/debian-menu.menu': Άρνηση πρόσβασης
elias@solydxk ~ $ touch /etc/xdg/menus/debian-menu.menu
touch: cannot touch '/etc/xdg/menus/debian-menu.menu': Άρνηση πρόσβασης
elias@solydxk ~ $ sudo apt-get install solydk-system-adjustments-8
[sudo] password for elias: 
Συγνώμη, δοκιμάστε ξανά.
[sudo] password for elias: 
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
solydk-system-adjustments-8 is already the newest version (2.7.3).
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common inotify-tools
  libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
elias@solydxk ~ $ touch /etc/xdg/menus/debian-menu.menu
touch: cannot touch '/etc/xdg/menus/debian-menu.menu': Άρνηση πρόσβασης
elias@solydxk ~ $ sudo apt-get install solydk-system-adjustments-8
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
solydk-system-adjustments-8 is already the newest version (2.7.3).
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common inotify-tools
  libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
elias@solydxk ~ $ sudo apt-get purge solydk-system-adjustments-8
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common
  evolvere-icon-theme-blue-folders-flat-vivid inotify-tools libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
Τα ακόλουθα πακέτα θα ΑΦΑΙΡΕΘΟΥΝ:
  solydk-system-adjustments-8*
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 1 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
Μετά από αυτή τη λειτουργία, θα ελευθερωθούν 9705 kB χώρου από το δίσκο.
Θέλετε να συνεχίσετε; [Ν/ο] Ν
(Ανάγνωση βάσης δεδομένων ... 297334 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
find: ‘/etc/xdg/menus/debian-menu.menu’: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
dpkg: error processing package solydk-system-adjustments-8 (--remove):
 η υποδιεργασία installed pre-removal script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
 solydk-system-adjustments-8
E: Sub-process /usr/bin/dpkg returned an error code (1)
elias@solydxk ~ $ 
EliaSXK91,
speaking!..

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt: command not found (!..)

Postby Arjen Balfoort » 22 May 2019 12:17

Sorry, it should have been:

Code: Select all

sudo touch /etc/xdg/menus/debian-menu.menu
If you see the message "Άρνηση πρόσβασης", you need root privileges to execute a command. You get root privileges with sudo.


SolydXK needs you!
Development | Testing | Translations

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 22 May 2019 15:51

Arjen Balfoort wrote:
22 May 2019 12:17
Sorry, it should have been:

Code: Select all

sudo touch /etc/xdg/menus/debian-menu.menu
If you see the message "Άρνηση πρόσβασης", you need root privileges to execute a command. You get root privileges with sudo.

Ok, i'll keep in mind *sudo* command for all root privileges+commands..,
but still we have an error...:

Code: Select all

elias@solydxk ~ $ sudo touch /etc/xdg/menus/debian-menu.menu
[sudo] password for elias: 
elias@solydxk ~ $ sudo apt-get install solydk-system-adjustments-8
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
solydk-system-adjustments-8 is already the newest version (2.7.3).
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common inotify-tools
  libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
elias@solydxk ~ $ sudo apt-get purge solydk-system-adjustments-8
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common
  evolvere-icon-theme-blue-folders-flat-vivid inotify-tools libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
Τα ακόλουθα πακέτα θα ΑΦΑΙΡΕΘΟΥΝ:
  solydk-system-adjustments-8*
0 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 1 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
Μετά από αυτή τη λειτουργία, θα ελευθερωθούν 9705 kB χώρου από το δίσκο.
Θέλετε να συνεχίσετε; [Ν/ο] Ν
(Ανάγνωση βάσης δεδομένων ... 297334 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
find: ‘/usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js’: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
dpkg: error processing package solydk-system-adjustments-8 (--remove):
 η υποδιεργασία installed pre-removal script επέστρεψε κατάσταση λάθους 1
Προέκυψαν σφάλματα κατά την επεξεργασία του:
 solydk-system-adjustments-8
E: Sub-process /usr/bin/dpkg returned an error code (1)
elias@solydxk ~ $ 
EliaSXK91,
speaking!..

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt: command not found (!..)

Postby Arjen Balfoort » 24 May 2019 14:27

Now I can only think of one thing: force removing solydk-system-adjustments-8.
It's a last resort and it doesn't always work.

Code: Select all

sudo mv /var/lib/dpkg/info/solydk-system-adjustments-8.* /tmp/
sudo dpkg --remove --force-remove-reinstreq solydk-system-adjustments-8
If that went without errors, you can install solydk-system-adjustments-9:

Code: Select all

sudo apt install solydk-system-adjustments-9


SolydXK needs you!
Development | Testing | Translations

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 02 Jun 2019 19:47

Sorry for being late getting back to you for my needed feedback,
but better late than never, i reckon...

So, i got to some point,
but still brings up some problems+errors...:

Code: Select all

elias@solydxk ~ $ sudo mv /var/lib/dpkg/info/solydk-system-adjustments-8.* /tmp/
mv: cannot stat '/var/lib/dpkg/info/solydk-system-adjustments-8.*': Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
elias@solydxk ~ $ sudo dpkg --remove --force-remove-reinstreq solydk-system-adjustments-8
dpkg: warning: files list file for package 'solydk-system-adjustments-8' missing; assuming package has no files currently installed
(Ανάγνωση βάσης δεδομένων ... 296959 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
elias@solydxk ~ $ sudo apt install solydk-system-adjustments-9
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                  
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common inotify-tools
  libinotifytools0
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
The following additional packages will be installed:
  apparmor apparmor-profiles apparmor-profiles-extra apparmor-utils
  evolvere-icon-theme-blue-folders-flat-vivid-dark gtk3-engines-breeze kde-style-breeze-qt4
  libapparmor-perl libreoffice-breeze-dark libreoffice-style-breeze python3-apparmor
  python3-libapparmor
Προτεινόμενα πακέτα:
  vim-addon-manager
Τα ακόλουθα ΝΕΑ πακέτα θα εγκατασταθούν:
  apparmor apparmor-profiles apparmor-profiles-extra apparmor-utils
  evolvere-icon-theme-blue-folders-flat-vivid-dark gtk3-engines-breeze kde-style-breeze-qt4
  libapparmor-perl libreoffice-breeze-dark libreoffice-style-breeze python3-apparmor
  python3-libapparmor solydk-system-adjustments-9
0 αναβαθμίστηκαν, 13 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 43 δεν αναβαθμίζονται.
Χρειάζεται να μεταφορτωθούν 7654 kB από αρχεία.
Μετά από αυτή τη λειτουργία, θα χρησιμοποιηθούν 66,8 MB χώρου από το δίσκο.
Θέλετε να συνεχίσετε; [Ν/ο] Ν
Φέρε:1 http://ftp.debian.org/debian stretch/main amd64 libreoffice-style-breeze all 1:5.2.7-1+deb9u7 [528 kB]
Φέρε:2 http://ftp.debian.org/debian stretch/main amd64 gtk3-engines-breeze amd64 5.8.4-1 [212 kB]
Φέρε:3 http://ftp.debian.org/debian stretch/main amd64 kde-style-breeze-qt4 amd64 4:5.8.5-2 [154 kB]
Φέρε:4 http://ftp.debian.org/debian stretch/main amd64 libapparmor-perl amd64 2.11.0-3+deb9u2 [82,2 kB]
Φέρε:5 http://ftp.debian.org/debian stretch/main amd64 apparmor amd64 2.11.0-3+deb9u2 [525 kB]
Φέρε:6 http://ftp.debian.org/debian stretch/main amd64 apparmor-profiles all 2.11.0-3+deb9u2 [81,1 kB]
Φέρε:7 http://ftp.debian.org/debian stretch/main amd64 apparmor-profiles-extra all 1.11 [8598 B]
Φέρε:8 http://ftp.debian.org/debian stretch/main amd64 python3-libapparmor amd64 2.11.0-3+deb9u2 [78,2 kB]
Φέρε:9 http://ftp.debian.org/debian stretch/main amd64 python3-apparmor amd64 2.11.0-3+deb9u2 [130 kB]
Φέρε:10 http://ftp.debian.org/debian stretch/main amd64 apparmor-utils amd64 2.11.0-3+deb9u2 [103 kB]
Φέρε:11 https://repository.solydxk.com solydxk-9/main amd64 evolvere-icon-theme-blue-folders-flat-vivid-dark all 1.2xk14 [2992 kB]
Φέρε:12 https://repository.solydxk.com solydxk-9/main amd64 libreoffice-breeze-dark all 0.1.1 [546 kB]
Σφάλμα:13 https://repository.solydxk.com solydxk-9/main amd64 solydk-system-adjustments-9 all 3.0.2
  404  Not Found
Σφάλμα:13 https://repository.solydxk.com solydxk-9/main i386 solydk-system-adjustments-9 all 3.0.2
  404  Not Found
Μεταφορτώθηκαν 5442 kB σε 5s (957 kB/s)
E: Αποτυχία ανάκτησης του https://repository.solydxk.com/pool/main/s/solydk-system-adjustments-9/solydk-system-adjustments-9_3.0.2_all.deb   404  Not Found
E: Αδύνατη η μεταφόρτωση μερικών αρχείων, ίσως αν δοκιμάζατε με apt-get update ή το --fix-missing;
elias@solydxk ~ $ 
Therefore, now what?!.. :(
EliaSXK91,
speaking!..

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 11 Jun 2019 20:19

Therefore, now what?!.. :(
...So, is there anybody out there able to solve this issue, afterall?!.. :geek:
EliaSXK91,
speaking!..

User avatar
ilu
Posts: 2493
Joined: 09 Oct 2013 12:45

Re: apt: command not found (!..)

Postby ilu » 12 Jun 2019 12:50

I don't think I can help you but please make things easier for everybody by entering

Code: Select all

export LC_ALL=C
before starting anything in the terminal. I should have mentioned this way earlier. It's a nifty thing to know. Best repost your latest output with export LC_ALL=C.

We are quite polyglott here (we don't require you to post in english) but greek has this nasty N/o problem that I can't wrap my head around. N always means NO to me and that confuses me every time I try to read the output. Also english output might attract other knowledgeable people.

(Note: Please never use google translate when posting terminal output. Use export LC_ALL=C.)

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 13 Jun 2019 20:14

Alright ilu...
When i get to the next step of solution to my problem,
i'll try to keep your tip in mind+put it in practice...

Till then,
no way out from here...

Site Admin is gone,
as well as anybody else that might be helpful...

Thanks for your communication, anyway...

PS: Nevertheless,
i did a small "exercise" here+now, afterall...: :idea:

Code: Select all

elias@solydxk ~ $ export LC_ALL=C
elias@solydxk ~ $ apt autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
elias@solydxk ~ $ sudo apt autoremove
[sudo] password for elias: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  apt-transport-https ayatana-indicator-application ayatana-indicator-common
  evolvere-icon-theme-blue-folders-flat-vivid
0 upgraded, 0 newly installed, 4 to remove and 6 not upgraded.
After this operation, 49.3 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 297028 files and directories currently installed.)
Removing apt-transport-https (1.4.9) ...
Removing ayatana-indicator-application (0.5.2-2~bpo9+1) ...
Removing ayatana-indicator-common (0.6.2-3~bpo9+1) ...
Removing evolvere-icon-theme-blue-folders-flat-vivid (1.2xk14) ...
elias@solydxk ~ $ apt sync
E: Invalid operation sync
elias@solydxk ~ $ sudo apt sync
E: Invalid operation sync
elias@solydxk ~ $
EliaSXK91,
speaking!..

User avatar
ilu
Posts: 2493
Joined: 09 Oct 2013 12:45

Re: apt: command not found (!..)

Postby ilu » 13 Jun 2019 21:37

There is no command apt sync. Did you want to do apt update? Please try again the commands Arjen told you. But now with english output.

Code: Select all

export LC_ALL=C
sudo mv /var/lib/dpkg/info/solydk-system-adjustments-8.* /tmp/
sudo dpkg --remove --force-remove-reinstreq solydk-system-adjustments-8
apt update
I think I understood the output of the first command but it doesn't hurt to do it again.

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt: command not found (!..)

Postby Arjen Balfoort » 14 Jun 2019 09:13

@EliaSXK91
Site admin is not gone, site admin needs time with his family once in a while.

@ilu
apt sync is a command you could use provided solydxk-system has been installed correctly and that is part of the problem with this system.

Back to his problem. This is what I did:
First update the apt cache:

Code: Select all

LC_ALL=C sudo apt-get update
Check what is installed:

Code: Select all

LC_ALL=C apt policy solydxk-system solydk-system-adjustments*
Move away some annoying files:

Code: Select all

LC_ALL=C sudo mv -v /var/lib/dpkg/info/solydk-system-adjustments* /tmp/
LC_ALL=C sudo mv -v /etc/skel/.gnupg/gpg.conf /tmp/
Purge these packages:

Code: Select all

LC_ALL=C sudo apt-get purge solydk-system-adjustments*
LC_ALL=C sudo apt-get purge solydxk-system
Install the new ones:

Code: Select all

LC_ALL=C sudo apt-get install solydxk-system solydk-system-adjustments-9


SolydXK needs you!
Development | Testing | Translations

User avatar
EliaSXK91
Posts: 28
Joined: 06 May 2019 12:01

Re: apt: command not found (!..)

Postby EliaSXK91 » 14 Jun 2019 17:53

ilu wrote:
13 Jun 2019 21:37
There is no command apt sync. Did you want to do apt update? Please try again the commands Arjen told you. But now with english output.

Code: Select all

export LC_ALL=C
sudo mv /var/lib/dpkg/info/solydk-system-adjustments-8.* /tmp/
sudo dpkg --remove --force-remove-reinstreq solydk-system-adjustments-8
apt update
I think I understood the output of the first command but it doesn't hurt to do it again.
Thanks for your response ilu,
but since Arjen is back,
i'll turn to his input... :geek:
EliaSXK91,
speaking!..


Return to “Software”

Who is online

Users browsing this forum: No registered users and 2 guests