Hi folks and a happy new year to everybody,
I have some problems encountered while updating/grading today, can somebody help on that please?
I did a normal apt-get update and then apt-get dist-upgrade where python-configargparse should be installed.
During the install process I was asked if I want to keep my php.ini or want the new one
I checked the differences and told we can use the new one, the only differences are :
root@XXX:/etc/php5/apache2# diff php.ini php.ini.ucf-old
87a88,89
> ; This is php.ini-production INI file.
>
663c665
< post_max_size = 8M
---
> post_max_size = 100M
791c793
< upload_max_filesize = 2M
---
> upload_max_filesize = 100M
But let's have a look at the errors in the dist-upgrade, would be great if someone could help. Thanks
root@XXX:/var/log# apt-get update
Get:1 http://security.kali.org kali/updates Release.gpg [836 B]
Get:2 http://http.kali.org kali Release.gpg [836 B]
Get:3 http://security.kali.org kali/updates Release [11.0 kB]
Get:4 http://http.kali.org kali Release [21.1 kB]
Get:5 http://security.kali.org kali/updates/main Sources [135 kB]
Get:6 http://http.kali.org kali/main Sources [7,547 kB]
Ign http://security.kali.org kali/updates/contrib Translation-en_US
Ign http://http.kali.org kali/contrib Translation-en_US
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://http.kali.org kali/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en_US
Ign http://http.kali.org kali/main Translation-en_US
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://http.kali.org kali/main Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en_US
Ign http://http.kali.org kali/non-free Translation-en_US
Ign http://http.kali.org kali/non-free Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en
Hit http://security.kali.org kali/updates/contrib Sources
Hit http://http.kali.org kali/non-free Sources
Hit http://security.kali.org kali/updates/non-free Sources
Hit http://http.kali.org kali/contrib Sources
Get:7 http://security.kali.org kali/updates/main amd64 Packages [270 kB]
Get:8 http://http.kali.org kali/main amd64 Packages [8,453 kB]
Hit http://security.kali.org kali/updates/contrib amd64 Packages
Hit http://http.kali.org kali/non-free amd64 Packages
Hit http://security.kali.org kali/updates/non-free amd64 Packages
Hit http://http.kali.org kali/contrib amd64 Packages
Fetched 16.4 MB in 19s (862 kB/s)
Reading package lists... Done
root@XXX:/var/log# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
python-configargparse
The following packages will be upgraded:
libapache2-mod-php5 mitmproxy php5 php5-cli php5-common php5-ldap php5-mcrypt php5-mysql
php5-sqlite
9 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,138 kB of archives.
After this operation, 15.4 kB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://http.kali.org/kali/ kali/main python-configargparse all 0.9.3-0kali1 [14.0 kB]
Get:2 http://security.kali.org/kali-security/ kali/updates/main php5-cli amd64 5.4.36-0+deb7u1 [2,595 kB]
Get:3 http://http.kali.org/kali/ kali/main mitmproxy all 0.11.3-0kali1 [1,047 kB]
Get:4 http://security.kali.org/kali-security/ kali/updates/main libapache2-mod-php5 amd64 5.4.36-0+deb7u1 [2,708 kB]
Get:5 http://security.kali.org/kali-security/ kali/updates/main php5-mysql amd64 5.4.36-0+deb7u1 [80.9 kB]
Get:6 http://security.kali.org/kali-security/ kali/updates/main php5-ldap amd64 5.4.36-0+deb7u1 [23.9 kB]
Get:7 http://security.kali.org/kali-security/ kali/updates/main php5-mcrypt amd64 5.4.36-0+deb7u1 [16.1 kB]
Get:8 http://security.kali.org/kali-security/ kali/updates/main php5-sqlite amd64 5.4.36-0+deb7u1 [30.5 kB]
Get:9 http://security.kali.org/kali-security/ kali/updates/main php5-common amd64 5.4.36-0+deb7u1 [621 kB]
Get:10 http://security.kali.org/kali-security/ kali/updates/main php5 all 5.4.36-0+deb7u1 [1,026 B]
Fetched 7,138 kB in 8s (834 kB/s)
Reading changelogs... Done
(Reading database ... 385698 files and directories currently installed.)
Preparing to replace php5-cli 5.4.35-0+deb7u2 (using .../php5-cli_5.4.36-0+deb7u1_amd64.deb) ...
Unpacking replacement php5-cli ...
Preparing to replace libapache2-mod-php5 5.4.35-0+deb7u2 (using .../libapache2-mod-php5_5.4.36-0+deb7u1_amd64.deb) ...
Unpacking replacement libapache2-mod-php5 ...
Preparing to replace php5-mysql 5.4.35-0+deb7u2 (using .../php5-mysql_5.4.36-0+deb7u1_amd64.deb) ...
Unpacking replacement php5-mysql ...
Preparing to replace php5-ldap 5.4.35-0+deb7u2 (using .../php5-ldap_5.4.36-0+deb7u1_amd64.deb) ...
Unpacking replacement php5-ldap ...
Preparing to replace php5-mcrypt 5.4.35-0+deb7u2 (using .../php5-mcrypt_5.4.36-0+deb7u1_amd64.deb) ...
Unpacking replacement php5-mcrypt ...
Preparing to replace php5-sqlite 5.4.35-0+deb7u2 (using .../php5-sqlite_5.4.36-0+deb7u1_amd64.deb) ...
Unpacking replacement php5-sqlite ...
Preparing to replace php5-common 5.4.35-0+deb7u2 (using .../php5-common_5.4.36-0+deb7u1_amd64.deb) ...
Unpacking replacement php5-common ...
Selecting previously unselected package python-configargparse.
Unpacking python-configargparse (from .../python-configargparse_0.9.3-0kali1_all.deb) ...
Preparing to replace mitmproxy 0.11.1-0kali2 (using .../mitmproxy_0.11.3-0kali1_all.deb) ...
Unpacking replacement mitmproxy ...Unpacking replacement php5 ...
Processing triggers for man-db ...
Setting up php5-common (5.4.36-0+deb7u1) ...
Setting up php5-cli (5.4.36-0+deb7u1) ...
Replacing config file /etc/php5/cli/php.ini with new version
Setting up libapache2-mod-php5 (5.4.36-0+deb7u1) ...
** (gnome-terminal:19422): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
Replacing config file /etc/php5/apache2/php.ini with new version
[ ok ] Reloading web server config: apache2 not running.
Setting up php5-mysql (5.4.36-0+deb7u1) ...
Setting up php5-ldap (5.4.36-0+deb7u1) ...
Setting up php5-mcrypt (5.4.36-0+deb7u1) ...
Setting up php5-sqlite (5.4.36-0+deb7u1) ...
Setting up python-configargparse (0.9.3-0kali1) ...
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/configargparse.py', 16, 65, 'ACTION_TYPES_THAT_DONT_NEED_A_VALUE = {argparse._StoreTrueAction,\n'))
dpkg: error processing python-configargparse (--configure):
subprocess installed post-installation script returned error exit status 101
dpkg: dependency problems prevent configuration of mitmproxy:
mitmproxy depends on python-configargparse (>= 0.9.3); however:
Package python-configargparse is not configured yet.
dpkg: error processing mitmproxy (--configure):
dependency problems - leaving unconfigured
Setting up php5 (5.4.36-0+deb7u1) ...
Processing triggers for libapache2-mod-php5 ...
[ ok ] Reloading web server config: apache2 not running.
Errors were encountered while processing:
python-configargparseroot@XXX:/var/log# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up python-configargparse (0.9.3-0kali1) ...
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/configargparse.py', 16, 65, 'ACTION_TYPES_THAT_DONT_NEED_A_VALUE = {argparse._StoreTrueAction,\n'))
dpkg: error processing python-configargparse (--configure):
subprocess installed post-installation script returned error exit status 101
dpkg: dependency problems prevent configuration of mitmproxy:
mitmproxy depends on python-configargparse (>= 0.9.3); however:
Package python-configargparse is not configured yet.
dpkg: error processing mitmproxy (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-configargparse
mitmproxy
E: Sub-process /usr/bin/dpkg returned an error code (1)
~
mitmproxy
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried once again :
Preparing to replace php5 5.4.35-0+deb7u2 (using .../php5_5.4.36-0+deb7u1_all.deb) ...
Unpacking replacement php5 ...
Processing triggers for man-db ...