KaliにTimeshiftをインストールできない

KaliにTimeshiftをインストールできない

私はgithubで複製したディレクトリにタイムシフトをインストールしようとしました。

次のコマンドを実行しました。

CDソースファイルのインストール

それから私は一人で走ります。

sudoはすべてを作る

どちらの場合も、次のような結果が得られます。

makefile:4: *** No msgmerge found, install it.  Stop.

その後、次のコマンドを試しました。

sudoはすべてを作る

次の出力を取得します。

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
makefile:4: *** No msgmerge found, install it.  Stop.
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

インターネット検索の後、オンラインフォーラムが推奨するようにgettextをインストールしました。

sudo apt インストール gettext

その後再試行しました。

sudoはすべてを作る

結果:

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
makefile:4: *** No valac found, install it.  Stop.
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

インターネット検索の後、私は以下を実行しました。

sudo apt-get インストール libval​​a-dev

コマンドを発行した後、別のショットを実行します。

sudo make all

結果:

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
makefile:4: *** No valac found, install it.  Stop.
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

sudo apt-get インストール valac

それから私は以下を実行しました。

sudoはすべてを作る

結果は次のとおりです。

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
Package vte-2.91 was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte-2.91.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte-2.91' found
/bin/bash: line 0: test: -lt: unary operator expected
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
/bin/bash: line 0: test: -gt: unary operator expected
#timeshift-gtk
valac -X -D'GETTEXT_PACKAGE="timeshift"' \
        --Xcc="-lm" --Xcc="-O3" -D VTE_291   \
        Core/*.vala Gtk/*.vala Utility/*.vala Utility/Gtk/*.vala \
        -o timeshift-gtk \
        --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
        --pkg gee-0.8 --pkg json-glib-1.0 \
        --pkg gtk+-3.0 --pkg vte-2.91 
error: Package `gee-0.8' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `vte-2.91' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 2 error(s), 0 warning(s)
make[1]: *** [makefile:52: app-gtk] Error 1
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

私はここであきらめることです。

編集する:libgtk2.0-devをインストールした後も試しました。

sudo apt-get インストール libgtk2.0-dev

また試しました:

依存関係のインストール

sudo apt install -y g++ libgtk-3-dev gtk-doc-tools gnutls-bin \
    valac intltool libpcre2-dev libglib3.0-cil-dev libgnutls28-dev \
    libgirepository1.0-dev libxml2-utils gperf build-essential

どこかで見つけた指示に従ってvte-ngを入手してインストールします。

git clone https://github.com/thestinger/vte-ng.git
echo export LIBRARY_PATH="/usr/include/gtk-3.0:$LIBRARY_PATH"
cd vte-ng && ./autogen.sh && make && sudo make install
cd ..

ベストアンサー1

インストールする時間の移動Kali Linuxではリポジトリからダウンロードできます。

自分のインストールされているバージョンを削除するために使用しますapt purge timeshift

ソースからパッケージをインストールできる場合は、実行してtimeshift-uninstallソフトウェアを削除できます。また、ソースコードとバイナリを含むディレクトリをクリーンアップして、システムから削除されたことを確認することをお勧めします。

Kali Linuxに/etc/apt/sources.list次の項目のみが含まれていることを確認してください。

deb http://http.kali.org/kali kali-rolling main non-free contrib 

で指摘したようにカリ Linux 公式ドキュメント、次のコマンドを実行して、これが真であることを確認できます。

grep -v '#' /etc/apt/sources.list | sort -u  

さらに、その中には何もないはずです/etc/apt/sources.list.d

apt updateシステムを使用して更新してくださいapt upgrade

次にTimeshiftをインストールしますapt install timeshift

これで、パッケージマネージャを介してTimeshiftがインストールおよび管理されます。 Debianベースのシステムでは、これは高レベルのパッケージとシステムの互換性を維持し、パッケージの不一致やエラーを防ぐためです。フランケンデビアン質問を入力してください。

Kali Linuxはローリングリリースなので、最先端のアップストリームパッケージとライブラリがシステムの不安定性やその他の問題が発生しても驚かないでください。主に最も一般的なセキュリティツールは、プレインストールされたワンタイム侵入テストディストリビューションとして設計されています。

頑張ってください!

おすすめ記事