Opened 9 years ago
Closed 8 years ago
#50112 closed defect (duplicate)
Processing of port failed: sqlite error: table registry.files has no column named mtime (1) while executing query: INSERT INTO registry.files (id, path, mtime, active) VALUES (?, ?, 0, 0)
Reported by: | miamikill@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description (last modified by dbevans (David B. Evans))
The following dependencies were not installed: XviD autoconf gettext expat libiconv gperf ncurses xz automake libtool bzip2 fontconfig freetype libpng zlib pkgconfig fribidi glib2 libffi pcre libedit gmake gnutls curl-ca-bundle perl5 perl5.22 gdbm gmp libidn libtasn1 nettle p11-kit desktop-file-utils popt libxslt libxml2 lame libass yasm libbluray libmodplug libogg libopus libsdl xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx openjpeg15 jbigkit lcms2 jpeg tiff schroedinger orc coreutils soxr cmake curl libarchive lzo2 speex texinfo help2man p5.22-locale-gettext x264 xorg-libXfixes xorg-fixesproto
Attachments (1)
Change History (7)
Changed 9 years ago by miamikill@…
comment:1 Changed 9 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Port: | ffmpeg added |
Status: | new → assigned |
Version: | 2.3.4 |
comment:2 Changed 9 years ago by dbevans (David B. Evans)
Port: | ffmpeg removed |
---|---|
Summary: | Processing of port ffmpeg failed → Processing of port failed: sqlite error: table registry.files has no column named mtime (1) while executing query: INSERT INTO registry.files (id, path, mtime, active) VALUES (?, ?, 0, 0) |
comment:3 Changed 9 years ago by miamikill@…
the ports version is the last one
old-SSDs-MacBook-Pro:expat administrator$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.4 installed, MacPorts base version 2.3.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
old-SSDs-MacBook-Pro:expat administrator$ sudo port upgrade outdated Nothing to upgrade.
comment:4 Changed 9 years ago by dbevans (David B. Evans)
Perhaps you installed the development version (2.3.99) of MacPorts base from svn trunk and then reverted to 2.3.4? At any rate, your registry database is malformed/corrupted. I suggest uninstalling your current MacPorts installation (saving a list of currently installed ports if possible) and then re-installing MacPorts 2.3.4 (as if you were migrating to a new OS version) using the Migration instructions. Once reinstalled you can reinstall your ports from the saved list and should be up and running again.
comment:5 Changed 9 years ago by miamikill@…
thanks
everything are up and running after un-install completely
comment:6 Changed 8 years ago by raimue (Rainer Müller)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Duplicate of #52855, closing this one as the other ticket explains the problem with additional commands to check the registry version.
This will be solved with [16239f7540cf03f6b5b3c71b5b8825999bd2b90e/macports-base] in the future.
The relevent error from the attached log file is this
This can occur when the installed version of MacPorts has been reverted from the latest version to an earlier version. Column mtime (expected by earlier versions of MacPorts) has been removed in recent versions. It appears your registration database was created or updated by a more recent version of MacPorts than you are currently running. Please update your installed copy of MacPorts to the latest version.