Originally Posted by Habitual
you could try as root:
mkdir -pv /var/cache/apt/archives/partial/
drwxr-xr-x 2 root root 4096 Oct 23 2014 8:23 AM /var/cache/apt/archives/partial/
-rw-r----- 1 root root 0 Oct 23 2014 8:24 AM /var/lib/dpkg/lock
755 for /var/cache/apt/archives/partial/
640 for the lock file.
then I'd try a
Thanks Habitual! It allowed my system to update and upgrade. But I got another error:
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File. chunk3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46. <DEBCONF_CONF.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line..
Use of unintialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
Also, when I try to ssh to another server, I get a bunch of error messages similar to this:
/etc/ssh/ssh_config: line 8: Bad configuration option: ListenAddress
/etc/ssh/ssh_config: terminating. 20 bad configuration options
But I never touched ssh_config. Only sshd_config file.
Thanks again for your help.