Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 25/06/2024, à 15:57

iznobe

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

tres bizarre ce retour ...

moi j ' ai un truc comme ca :

pi@k-pi3:~ $ apt policy proftpd*
proftpd-mod-proxy:
  Installé : (aucun)
  Candidat : 0.7-1
 Table de version :
     0.7-1 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-pgsql:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-counter:
  Installé : (aucun)
  Candidat : 0.6.2-2
 Table de version :
     0.6.2-2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-geoip2:
  Installé : (aucun)
  Candidat : 0.1-1
 Table de version :
     0.1-1 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-base:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
proftpd-mod-crypto:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-vroot:
  Installé : (aucun)
  Candidat : 0.9.8-4
 Table de version :
     0.9.8-4 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-mysql:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-autohost:
  Installé : (aucun)
  Candidat : 0.6-1
 Table de version :
     0.6-1 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-ldap:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-core:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-geoip:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-basic:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-wrap:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-msg:
  Installé : (aucun)
  Candidat : 0.5-3
 Table de version :
     0.5-3 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-tar:
  Installé : (aucun)
  Candidat : 0.4-2
 Table de version :
     0.4-2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-sqlite:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
proftpd-mod-clamav:
  Installé : (aucun)
  Candidat : 0.14~rc2-4
 Table de version :
     0.14~rc2-4 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-statsd:
  Installé : (aucun)
  Candidat : 0.1-1
 Table de version :
     0.1-1 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-snmp:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-case:
  Installé : (aucun)
  Candidat : 0.7+git73896501cf-2
 Table de version :
     0.7+git73896501cf-2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-abi-1.3.7a:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
proftpd-mod-odbc:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-dev:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-doc:
  Installé : (aucun)
  Candidat : 1.3.7a+dfsg-12+deb11u2
 Table de version :
     1.3.7a+dfsg-12+deb11u2 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
proftpd-mod-dnsbl:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
proftpd-mod-fsync:
  Installé : (aucun)
  Candidat : 0.3-3
 Table de version :
     0.3-3 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
pi@k-pi3:~ $

retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#27 Le 25/06/2024, à 16:05

iznobe

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

commence par nettoyer les paquets inutiles , parfois , il peut arriver que ca bloque :

sudo apt autopurge
sudo apt remove ~c

on y verra alors plus clair , redonne :

sudo apt update
dpkg -l | grep -v ^ii

retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#28 Le 25/06/2024, à 16:38

marcu

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

Avant que tu poste ce deuxième message, j'ai fais quelques manips :

root@go:/etc/proftpd# systemctl status proftpd.service
× proftpd.service - ProFTPD FTP Server
     Loaded: loaded (/lib/systemd/system/proftpd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-06-25 16:30:51 CEST; 13s ago
    Process: 190446 ExecStartPre=/usr/sbin/proftpd --configtest -c $CONFIG_FILE (code=exited, status=1/FAILURE)

juin 25 16:30:51 go systemd[1]: Starting ProFTPD FTP Server...
juin 25 16:30:51 go proftpd[190446]: Checking syntax of configuration file
juin 25 16:30:51 go proftpd[190446]: 2024-06-25 16:30:51,292 go proftpd[190446]: fatal: unknown configuration directive 'IdentLookups' on line 13 of '/etc/proftpd/proftpd.>
juin 25 16:30:51 go systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
juin 25 16:30:51 go systemd[1]: proftpd.service: Failed with result 'exit-code'.
juin 25 16:30:51 go systemd[1]: Failed to start ProFTPD FTP Server.

J'ai donc mis en remarque la ligne13 de proftpd.conf, relancé le service

systemctl start proftpd

et j'accède maintenant via filezilla au dossier ftp big_smile

bon quand je tape la commande apt policy proftpd* , j'ai toujours la me!e erreur ...

root@go:/etc/proftpd# apt policy proftpd*
N: Impossible de trouver le paquet proftpd.conf
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf »
N: Impossible de trouver le paquet proftpd.conf.proftpd-new
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf.proftpd-new »
N: Impossible de trouver le paquet proftpd.conf.proftpd-old
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf.proftpd-old »
N: Impossible de trouver le paquet proftpd.conf.ucf-dist
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf.ucf-dist »

Je vais faire les commandes que tu proposes dans ton poste ci dessus et revenir ici.

Hors ligne

#29 Le 25/06/2024, à 16:52

iznobe

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

il serait judicieux d ' indiquer quelle est la ligne 13 du fichier dont on ne voit pas le nom complet de conf de proftpd .

ou encore mieux :

cat -n /etc/proftpd/proftpd.conf

si des informations sensibles , sait on jamais , remplace par des " xxx "  .

Cela a relancé le service , mais comme on ne sait pas ce que contient la ligne en question , ca peut poser d' autres soucis .
De plus , ca n' a pas permis  d ' installer les nouvelles versions des paquets .

Dernière modification par iznobe (Le 25/06/2024, à 16:56)


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#30 Le 25/06/2024, à 17:31

marcu

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

Oui pardon tu as raison :

root@go:/etc/proftpd# cat -n proftpd.conf
     1	#
     2	# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
     3	# To really apply changes, reload proftpd after modifications, if
     4	# it runs in daemon mode. It is not required in inetd/xinetd mode.
     5	# 
     6	
     7	# Includes DSO modules
     8	Include /etc/proftpd/modules.conf
     9	
    10	# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
    11	UseIPv6				on
    12	# If set on you can experience a longer connection delay in many cases.
    13	#IdentLookups			off
    14	
    15	ServerName			"xxxxx"
    16	# Set to inetd only if you would run proftpd by inetd/xinetd.
    17	# Read README.Debian for more information on proper configuration.
    18	ServerType				standalone
    19	DeferWelcome			off
    20	
    21	MultilineRFC2228		on
    22	DefaultServer			on
    23	ShowSymlinks			on
    24	
    25	TimeoutNoTransfer		600
    26	TimeoutStalled			600
    27	TimeoutIdle			1200
    28	
    29	DisplayLogin                    welcome.msg
    30	DisplayChdir               	.message true
    31	ListOptions                	"-l"
    32	
    33	DenyFilter			\*.*/
    34	
    35	# Use this to jail all users in their homes 
    36	DefaultRoot			~
    37	
    38	# Users require a valid shell listed in /etc/shells to login.
    39	# Use this directive to release that constrain.
    40	# RequireValidShell		off
    41	
    42	# Port 21 is the standard FTP port.
    43	Port				21
    44	
    45	# In some cases you have to specify passive ports range to by-pass
    46	# firewall limitations. Ephemeral ports can be used for that, but
    47	# feel free to use a more narrow range.
    48	 PassivePorts                  1234 1234
    49	
    50	# If your host was NATted, this option is useful in order to
    51	# allow passive tranfers to work. You have to use your public
    52	# address and opening the passive ports used on your firewall as well.
    53	# MasqueradeAddress		1.2.3.4
    54	
    55	# This is useful for masquerading address with dynamic IPs:
    56	# refresh any configured MasqueradeAddress directives every 8 hours
    57	<IfModule mod_dynmasq.c>
    58	# DynMasqRefresh 28800
    59	</IfModule>
    60	
    61	# To prevent DoS attacks, set the maximum number of child processes
    62	# to 30.  If you need to allow more than 30 concurrent connections
    63	# at once, simply increase this value.  Note that this ONLY works
    64	# in standalone mode, in inetd mode you should use an inetd server
    65	# that allows you to limit maximum number of processes per service
    66	# (such as xinetd)
    67	MaxInstances			30
    68	
    69	# Set the user and group that the server normally runs at.
    70	User				proftpd
    71	Group				nogroup
    72	
    73	# Umask 022 is a good standard umask to prevent new files and dirs
    74	# (second parm) from being group and world writable.
    75	Umask				022  022
    76	# Normally, we want files to be overwriteable.
    77	AllowOverwrite			on
    78	
    79	# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
    80	# PersistentPasswd		off
    81	
    82	# This is required to use both PAM-based authentication and local passwords
    83	# AuthOrder			mod_auth_pam.c* mod_auth_unix.c
    84	
    85	# Be warned: use of this directive impacts CPU average load!
    86	# Uncomment this if you like to see progress and transfer rate with ftpwho
    87	# in downloads. That is not needed for uploads rates.
    88	#
    89	# UseSendFile			off
    90	
    91	TransferLog /var/log/proftpd/xferlog
    92	SystemLog   /var/log/proftpd/proftpd.log
    93	
    94	# Logging onto /var/log/lastlog is enabled but set to off by default
    95	#UseLastlog on
    96	
    97	# In order to keep log file dates consistent after chroot, use timezone info
    98	# from /etc/localtime.  If this is not set, and proftpd is configured to
    99	# chroot (e.g. DefaultRoot or <Anonymous>), it will use the non-daylight
   100	# savings timezone regardless of whether DST is in effect.
   101	#SetEnv TZ :/etc/localtime
   102	
   103	<IfModule mod_quotatab.c>
   104	QuotaEngine off
   105	</IfModule>
   106	
   107	<IfModule mod_ratio.c>
   108	Ratios off
   109	</IfModule>
   110	
   111	
   112	# Delay engine reduces impact of the so-called Timing Attack described in
   113	# http://www.securityfocus.com/bid/11430/discuss
   114	# It is on by default. 
   115	<IfModule mod_delay.c>
   116	DelayEngine on
   117	</IfModule>
   118	
   119	<IfModule mod_ctrls.c>
   120	ControlsEngine        off
   121	ControlsMaxClients    2
   122	ControlsLog           /var/log/proftpd/controls.log
   123	ControlsInterval      5
   124	ControlsSocket        /var/run/proftpd/proftpd.sock
   125	</IfModule>
   126	
   127	<IfModule mod_ctrls_admin.c>
   128	AdminControlsEngine off
   129	</IfModule>
   130	
   131	#
   132	# Alternative authentication frameworks
   133	#
   134	#Include /etc/proftpd/ldap.conf
   135	#Include /etc/proftpd/sql.conf
   136	
   137	#
   138	# This is used for FTPS connections
   139	#
   140	#Include /etc/proftpd/tls.conf
   141	
   142	#
   143	# Useful to keep VirtualHost/VirtualRoot directives separated
   144	#
   145	#Include /etc/proftpd/virtuals.conf
   146	
   147	# A basic anonymous configuration, no upload directories.
   148	
   149	# <Anonymous ~ftp>
   150	#   User				ftp
   151	#   Group				nogroup
   152	#   # We want clients to be able to login with "anonymous" as well as "ftp"
   153	#   UserAlias			anonymous ftp
   154	#   # Cosmetic changes, all files belongs to ftp user
   155	#   DirFakeUser	on ftp
   156	#   DirFakeGroup on ftp
   157	# 
   158	#   RequireValidShell		off
   159	# 
   160	#   # Limit the maximum number of anonymous logins
   161	#   MaxClients			10
   162	# 
   163	#   # We want 'welcome.msg' displayed at login, and '.message' displayed
   164	#   # in each newly chdired directory.
   165	#   DisplayLogin			welcome.msg
   166	#   DisplayChdir		.message
   167	# 
   168	#   # Limit WRITE everywhere in the anonymous chroot
   169	#   <Directory *>
   170	#     <Limit WRITE>
   171	#       DenyAll
   172	#     </Limit>
   173	#   </Directory>
   174	# 
   175	#   # Uncomment this if you're brave.
   176	#   # <Directory incoming>
   177	#   #   # Umask 022 is a good standard umask to prevent new files and dirs
   178	#   #   # (second parm) from being group and world writable.
   179	#   #   Umask				022  022
   180	#   #            <Limit READ WRITE>
   181	#   #            DenyAll
   182	#   #            </Limit>
   183	#   #            <Limit STOR>
   184	#   #            AllowAll
   185	#   #            </Limit>
   186	#   # </Directory>
   187	# 
   188	# </Anonymous>
   189	
   190	# Include other custom configuration files
   191	Include /etc/proftpd/conf.d/

j'ai mis en remarque la ligne 13 :

#IdentLookups			off 

Hors ligne

#31 Le 25/06/2024, à 17:40

iznobe

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

il s ' agit d ' un parametre d ' identifcation client : http://www.proftpd.org/docs/modules/mod_ident.html

il faudrait quand meme regler d' abord , la reinstallation des paquets avant de s' arreter à la config .
il se peut que comme la configuration des paquets n ' est pas realisé , cette erreur ne soit qu ' un symptome .

dpkg -l proftpd

donne quelquechose ?

sudo apt install -s --reinstall proftpd

dis quoi ?

Dernière modification par iznobe (Le 25/06/2024, à 17:43)


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#32 Le 25/06/2024, à 17:47

marcu

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

root@go:~# dpkg -l proftpd
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version      Architecture Description
+++-==============-============-============-=====================================
un  proftpd        <aucune>     <aucune>     (aucune description n'est disponible)

et

root@go:~# sudo apt install -s --reinstall proftpd
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Note : sélection de « proftpd-core » au lieu de « proftpd »
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  dbconfig-common dbconfig-mysql g++-9 gcc-10-base guile-2.2-libs libapache2-mod-php7.4 libcbor0.6 libdns-export1109 libffi7 libgd3 libhogweed5 libicu66 libjs-jquery libjs-openlayers libjs-psl
  libjs-regenerate libjs-source-map libjs-sphinxdoc libjs-underscore libjs-util libjson-c4 libkyotocabinet16v5 liblua5.1-0 liblua5.2-0 liblzo2-2 libnettle7 libonig5 libperl5.30 libpython3.8
  libpython3.8-minimal libpython3.8-stdlib libstdc++-9-dev libwebp6 libxpm4 libxslt1.1 linux-image-4.15.0-213-generic linux-modules-4.15.0-213-generic linux-modules-extra-4.15.0-213-generic
  node-ajv node-ansi node-ansi-align node-anymatch node-array-union node-array-uniq node-arrify node-asn1 node-assert node-assert-plus node-asynckit node-aws-sign2 node-aws4 node-babel7
  node-babel7-runtime node-bcrypt-pbkdf node-bl node-bluebird node-boxen node-braces node-browserslist node-builtin-modules node-call-limit node-camelcase node-caniuse-lite node-caseless
  node-ci-info node-cli-boxes node-cliui node-co node-combined-stream node-commander node-commondir node-concat-map node-concat-stream node-config-chain node-configstore node-convert-source-map
  node-core-js node-cross-spawn node-crypto-random-string node-cyclist node-dashdash node-debbundle-es-to-primitive node-decamelize node-deep-equal node-deep-extend node-define-properties
  node-del node-delayed-stream node-detect-indent node-detect-newline node-dot-prop node-duplexer3 node-duplexify node-ecc-jsbn node-editor node-electron-to-chromium node-errno node-error-ex
  node-es-abstract node-es6-promise node-esutils node-execa node-extend node-extsprintf node-fast-deep-equal node-fill-range node-find-cache-dir node-find-up node-flush-write-stream
  node-forever-agent node-form-data node-from2 node-fs-readdir-recursive node-fs-vacuum node-genfun node-get-caller-file node-getpass node-glob-parent node-globals node-globby node-har-schema
  node-har-validator node-has-symbol-support-x node-has-to-string-tag-x node-http-signature node-ignore node-import-lazy node-invert-kv node-is-arrayish node-is-buffer node-is-extglob
  node-is-glob node-is-npm node-is-number node-is-obj node-is-object node-is-path-cwd node-is-path-inside node-is-plain-obj node-is-retry-allowed node-is-stream node-isstream node-isurl
  node-js-tokens node-jsbn node-jsesc node-json-schema node-json-schema-traverse node-json-stable-stringify node-json-stringify-safe node-json5 node-jsonify node-jsonstream node-jsprim
  node-kind-of node-latest-version node-lazy-property node-lcid node-libnpx node-locate-path node-lockfile node-lodash node-lodash-packages node-make-dir node-mem node-merge-stream
  node-micromatch node-mime node-mime-types node-mimic-fn node-minimist node-mississippi node-normalize-path node-npm-run-path node-number-is-nan node-oauth-sign node-object-inspect
  node-os-locale node-os-tmpdir node-p-finally node-p-is-promise node-p-limit node-p-locate node-p-timeout node-package-json node-parallel-transform node-parse-json node-path-dirname
  node-path-exists node-path-is-inside node-path-type node-performance-now node-picocolors node-pify node-pkg-dir node-prepend-http node-proto-list node-prr node-pseudomap node-psl node-pumpify
  node-punycode node-qs node-qw node-rc node-read-pkg node-regenerate node-regenerate-unicode-properties node-regenerator-runtime node-regenerator-transform node-regexpu-core
  node-registry-auth-token node-registry-url node-regjsgen node-regjsparser node-repeat-string node-request node-require-directory node-require-main-filename node-resolve-from node-semver-diff
  node-sha node-shebang-command node-shebang-regex node-slide node-sorted-object node-source-map node-source-map-support node-sshpk node-stream-each node-stream-iterate node-stream-shift
  node-strict-uri-encode node-strip-eof node-strip-json-comments node-term-size node-through node-through2 node-timed-out node-to-fast-properties node-to-regex-range node-tough-cookie
  node-tunnel-agent node-tweetnacl node-typedarray node-uid-number node-unicode-canonical-property-names-ecmascript node-unicode-match-property-ecmascript
  node-unicode-match-property-value-ecmascript node-unicode-property-aliases-ecmascript node-unique-string node-universalify node-unpipe node-uri-js node-url-parse-lax node-url-to-options
  node-util node-uuid node-v8flags node-verror node-which-module node-widest-line node-wrap-ansi node-xdg-basedir node-xtend node-y18n node-yargs node-yargs-parser perl-modules-5.30
  php-google-recaptcha php-mbstring php-phpmyadmin-motranslator php-phpmyadmin-shapefile php-phpmyadmin-sql-parser php-phpseclib php-psr-cache php-psr-container php-psr-log php-symfony-cache
  php-symfony-cache-contracts php-symfony-deprecation-contracts php-symfony-expression-language php-symfony-polyfill-php80 php-symfony-service-contracts php-symfony-var-exporter php-twig
  php-twig-extensions php-xml php8.1-mbstring php8.1-xml python-pkg-resources python3.8 python3.8-minimal
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
4 partiellement installés ou enlevés.
Inst proftpd-core [1.3.7c+dfsg-1build1] (1.3.7c+dfsg-1build1 Ubuntu:22.04/jammy [amd64])
Conf proftpd-core (1.3.7c+dfsg-1build1 Ubuntu:22.04/jammy [amd64])
Conf proftpd-mod-crypto (1.3.7c+dfsg-1build1 Ubuntu:22.04/jammy [amd64])
Conf proftpd-basic (1.3.7c+dfsg-1build1 Ubuntu:22.04/jammy [all])
Conf proftpd-mod-wrap (1.3.7c+dfsg-1build1 Ubuntu:22.04/jammy [amd64])

et je sais pas pourquoi mais je colle ici :

root@go:~# proftpd --version
ProFTPD Version 1.3.7c

Hors ligne

#33 Le 25/06/2024, à 17:52

iznobe

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

bon , fais le nettoyage :

sudo apt autoremove

retour inutile si pas de soucis .

puis lance la reinstallation de proftpd histoire de voir , puisqu ' il semble que la simulation se passe bien , donne le retour de celle-ci :

sudo apt install --reinstall proftpd

Si tout se passe bien , montre :

dpkg -l proftpd

Dernière modification par iznobe (Le 25/06/2024, à 17:53)


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#34 Le 25/06/2024, à 18:05

marcu

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

ok j'ai nettoyé avec :

sudo apt autoremove

pas de probleme apparent, puis j'ai lancé le reinstall :

root@go:~# sudo apt install --reinstall proftpd
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Note : sélection de « proftpd-core » au lieu de « proftpd »
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0 o/2194 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
(Lecture de la base de données... 106425 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../proftpd-core_1.3.7c+dfsg-1build1_amd64.deb ...
Dépaquetage de proftpd-core (1.3.7c+dfsg-1build1) sur (1.3.7c+dfsg-1build1) ...
Paramétrage de proftpd-core (1.3.7c+dfsg-1build1) ...
usermod: no changes
Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable proftpd
Traitement des actions différées (« triggers ») pour man-db (2.10.2-1) ...

puis

root@go:~# dpkg -l proftpd
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version      Architecture Description
+++-==============-============-============-=====================================
un  proftpd        <aucune>     <aucune>     (aucune description n'est disponible)

Hors ligne

#35 Le 25/06/2024, à 18:22

iznobe

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

ok , maintenant , ca dis quoi

apt policy proftpd*
sudo apt update
dpkg -l | grep -v ^ii

il ne reste que l ' erreur mysql du coup .

Dernière modification par iznobe (Le 25/06/2024, à 18:24)


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#36 Le 25/06/2024, à 18:30

nany

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

Bonjour,



marcu a écrit :

bon quand je tape la commande apt policy proftpd* , j'ai toujours la me!e erreur ...

root@go:/etc/proftpd# apt policy proftpd*
N: Impossible de trouver le paquet proftpd.conf
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf »
N: Impossible de trouver le paquet proftpd.conf.proftpd-new
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf.proftpd-new »
N: Impossible de trouver le paquet proftpd.conf.proftpd-old
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf.proftpd-old »
N: Impossible de trouver le paquet proftpd.conf.ucf-dist
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « proftpd.conf.ucf-dist »

Normal, tu es dans le répertoire /etc/proftpd/ (et en root), le shell liste tout ce qui commence par proftpd dans ce répertoire et le passe comme argument à apt policy

En ligne

#37 Le 25/06/2024, à 18:40

marcu

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

Bonjour nany et merci en effet :

root@go:~# apt policy proftpd*
proftpd-mod-proxy:
  Installé : (aucun)
  Candidat : 0.8-1build1
 Table de version :
     0.8-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-pgsql:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-counter:
  Installé : (aucun)
  Candidat : 0.6.2-2build1
 Table de version :
     0.6.2-2build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-geoip2:
  Installé : (aucun)
  Candidat : 0.1-1build1
 Table de version :
     0.1-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-crypto:
  Installé : 1.3.7c+dfsg-1build1
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
 *** 1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status
proftpd-mod-vroot:
  Installé : (aucun)
  Candidat : 0.9.9-1build1
 Table de version :
     0.9.9-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-mysql:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-autohost:
  Installé : (aucun)
  Candidat : 0.6-2build1
 Table de version :
     0.6-2build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-ldap:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-core:
  Installé : 1.3.7c+dfsg-1build1
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
 *** 1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status
proftpd-mod-geoip:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-basic:
  Installé : 1.3.7c+dfsg-1build1
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
 *** 1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status
proftpd-mod-wrap:
  Installé : 1.3.7c+dfsg-1build1
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
 *** 1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status
proftpd-mod-msg:
  Installé : (aucun)
  Candidat : 0.5-3build1
 Table de version :
     0.5-3build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-tar:
  Installé : (aucun)
  Candidat : 0.4-2build1
 Table de version :
     0.4-2build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-sqlite:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
proftpd-mod-clamav:
  Installé : (aucun)
  Candidat : 0.14~rc2-4build1
 Table de version :
     0.14~rc2-4build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-statsd:
  Installé : (aucun)
  Candidat : 0.1-1build1
 Table de version :
     0.1-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-snmp:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-case:
  Installé : (aucun)
  Candidat : 0.9-1
 Table de version :
     0.9-1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-abi-1.3.7c:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
proftpd-mod-odbc:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-dev:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-doc:
  Installé : (aucun)
  Candidat : 1.3.7c+dfsg-1build1
 Table de version :
     1.3.7c+dfsg-1build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages
proftpd-mod-dnsbl:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
proftpd-mod-fsync:
  Installé : (aucun)
  Candidat : 0.3-3build1
 Table de version :
     0.3-3build1 500
        500 https://mirrors.gandi.net/ubuntu jammy/universe amd64 Packages

ça ressemble plus à ce que  iznobe a sur son système smile

root@go:~# sudo apt update
Réception de :1 https://mirrors.gandi.net/ubuntu jammy-security InRelease [129 kB]
Réception de :2 https://mirrors.gandi.net/ubuntu jammy-updates InRelease [128 kB]
Atteint :3 https://mirrors.gandi.net/ubuntu jammy InRelease
Réception de :4 https://mirrors.gandi.net/ubuntu jammy-security/main amd64 Packages [1526 kB]
Réception de :5 https://mirrors.gandi.net/ubuntu jammy-updates/main amd64 Packages [1736 kB]
Réception de :6 https://mirrors.gandi.net/ubuntu jammy-updates/main Translation-en [319 kB]
Réception de :7 https://mirrors.gandi.net/ubuntu jammy-updates/universe amd64 Packages [1088 kB]
Réception de :8 https://mirrors.gandi.net/ubuntu jammy-updates/universe Translation-en [251 kB]
5177 ko réceptionnés en 2s (2677 ko/s)                       
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
1 paquet peut être mis à jour. Exécutez « apt list --upgradable » pour le voir.

donc je fais :

root@go:~# apt list --upgradable -a
En train de lister... Fait
libcups2/jammy-security,jammy-updates 2.4.1op1-1ubuntu4.9 amd64 [pouvant être mis à jour depuis : 2.4.1op1-1ubuntu4.8]
libcups2/now 2.4.1op1-1ubuntu4.8 amd64 [installé, pouvant être mis à jour vers : 2.4.1op1-1ubuntu4.9]
libcups2/jammy 2.4.1op1-1ubuntu4 amd64

et enfin :

root@go:~# dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                    Version                                 Architecture Description
+++-======================================-=======================================-============-================================================================================
rc  dbconfig-common                        2.0.21                                  all          framework that helps packages to manage databases
rc  libapache2-mod-php7.2                  7.2.24-0ubuntu0.18.04.17                amd64        server-side, HTML-embedded scripting language (Apache 2 module)
rc  libapache2-mod-php7.4                  8.1.2-1ubuntu2.18                       amd64        Transitional package
rc  libjs-jquery                           3.6.0+dfsg+~3.5.13-1                    all          JavaScript library for dynamic web applications
rc  libpython3.8-minimal:amd64             3.8.10-0ubuntu1~20.04.9                 amd64        Minimal subset of the Python language (version 3.8)
rc  linux-image-4.15.0-213-generic         4.15.0-213.224                          amd64        Signed kernel image generic
rc  linux-modules-4.15.0-213-generic       4.15.0-213.224                          amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc  linux-modules-extra-4.15.0-213-generic 4.15.0-213.224                          amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc  mysql-server-5.7                       5.7.42-0ubuntu0.18.04.1                 amd64        MySQL database server binaries and system database setup
rc  node-duplexer3                         0.1.4-6                                 all          Like duplexer but using streams3
rc  node-mime                              3.0.0+dfsg+~cs3.96.1-1                  all          library for mime-type mapping for Node.js
rc  node-source-map                        0.7.0++dfsg2+really.0.6.1-9             all          Mozilla source map generator and consumer - Node.js module
rc  php7.4-cli                             7.4.3-4ubuntu2.22                       amd64        command-line interpreter for the PHP scripting language
rc  php7.4-common                          7.4.3-4ubuntu2.22                       amd64        documentation, examples and common module for PHP
rc  php7.4-curl                            7.4.3-4ubuntu2.22                       amd64        CURL module for PHP
rc  php7.4-json                            7.4.3-4ubuntu2.22                       amd64        JSON module for PHP
rc  php7.4-mbstring                        7.4.3-4ubuntu2.22                       amd64        MBSTRING module for PHP
rc  php7.4-mysql                           7.4.3-4ubuntu2.22                       amd64        MySQL module for PHP
rc  php7.4-opcache                         7.4.3-4ubuntu2.22                       amd64        Zend OpCache module for PHP
rc  php7.4-readline                        7.4.3-4ubuntu2.22                       amd64        readline module for PHP
rc  php7.4-sqlite3                         7.4.3-4ubuntu2.22                       amd64        SQLite3 module for PHP
rc  php7.4-xml                             7.4.3-4ubuntu2.22                       amd64        DOM, SimpleXML, XML, and XSL module for PHP
rc  php8.1-mbstring                        8.1.2-1ubuntu2.18                       amd64        MBSTRING module for PHP
rc  php8.1-xml                             8.1.2-1ubuntu2.18                       amd64        DOM, SimpleXML, XML, and XSL module for PHP
rc  phpmyadmin                             4:4.9.5+dfsg1-2                         all          MySQL web administration tool
rc  python                                 2.7.15~rc1-1                            amd64        interactive high-level object-oriented language (default version)
rc  python3.8-minimal                      3.8.10-0ubuntu1~20.04.9                 amd64        Minimal subset of the Python language (version 3.8)
rc  sendmail-bin                           8.15.2-10                               amd64        powerful, efficient, and scalable Mail Transport Agent

Hors ligne

#38 Le 25/06/2024, à 20:31

marcu

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

iznobe a écrit :

...
il ne reste que l ' erreur mysql du coup .

Oui j'ai toujours une erreur dans le log apache :

PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1298 Unknown or incorrect time zone: 'Europe/Paris'

J'ai essayé de modifier le php.ini pour modifier la ligne :

;date.timezone =

par

date.timezone = Europe/Paris

Mais toujours l'erreur ci dessus...

Hors ligne

#39 Le 26/06/2024, à 10:43

marcu

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

Bonjour,

J'ai résolut le problème de timezone : en fait lors de la mise à jour plusieurs paquets php8.1 ne se sont pas installés, je les ai donc installé à la main. De plus php8.1 demande une plus grande précision et renvoie des exceptions sur des erreurs de scripts que ne faisait pas php7.4.
J'ai corrigé tout remarche : ftp, apache, grâce à vos messages d'aide : Je vous remercie wink

Par contre le serveur n'a toujours pas été redémarré depuis la mise à jour jammy, maintenant que tout refonctionne, est ce que je peux le redémarrer sans risque ? ou y a t il des choses à vérifier avant ?

Merci big_smile

Hors ligne

#40 Le 26/06/2024, à 16:40

iznobe

Re : Reprendre une Mise à jour 20.04 -> 22.04 non terminée

Bonjour , maintenant que tout les paquets sont dans un état cohérent , je pense que tu peux redémarrer .

Sans risque , par contre , là aucune idée tongue


Si il y a un soucis ( je ne pense pas , mais on est jamais sur de rien dans la vie ) , ca ne devrait pas etre a cause de paquets .


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne