AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-741108

s3voch7's questions

Martin Hope
s3voch7
Asked: 2018-02-12 04:07:11 +0800 CST

删除除一个以外的所有图片元数据

  • 11

我需要从一个文件夹中的图片中删除所有元数据,但拍摄日期除外。

有没有办法删除所有元数据但有例外?

我使用的当前命令是:

exiftool -all= *.jpg

我试图阅读有关 exiftool 的手册,但我仍然无法使用该命令。

谢谢!

exiftool
  • 1 个回答
  • 6918 Views
Martin Hope
s3voch7
Asked: 2018-01-04 07:30:09 +0800 CST

Apt更新错误[重复]

  • 0
这个问题在这里已经有了答案:
“GPG 错误:以下签名无效:KEYEXPIRED” (9 个答案)
5 个月前关闭。

我有 Ubuntu 16.04 LTS,我在初始设置中安装了一些东西,但它很多,我不记得我在哪些步骤中搞砸了,以便apt get update给出这个错误:

Get:48 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4.712 B]     
Reading package lists... Done                                                                         
W: GPG error: http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  Release: The following signatures were invalid: KEYEXPIRED 1496576244
E: The repository 'http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

我该如何解决这些错误?

apt
  • 1 个回答
  • 1035 Views
Martin Hope
s3voch7
Asked: 2017-12-21 03:54:58 +0800 CST

如何解决 Ubuntu 16.04 上 MEGAsync 的依赖关系?

  • 5

我已经下载了 MEGAsync 的 debian 软件包并尝试在 Ubuntu 16.04 上安装:

sudo dpkg -i mega.deb

但它抛出了这个错误:

Selecting previously unselected package megasync.
(Reading database ... 204976 files and directories currently installed.)
Preparing to unpack megasync-xUbuntu_16.10_amd64.deb ...
Unpacking megasync (3.5.3-2.1) ...
dpkg: dependency problems prevent configuration of megasync:
 megasync depends on libcrypto++6; however:
  Package libcrypto++6 is not installed.
 megasync depends on libqt5core5a (>= 5.6.0~beta); however:
  Version of libqt5core5a:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
 megasync depends on libqt5svg5 (>= 5.6.0~beta); however:
  Version of libqt5svg5:amd64 on system is 5.5.1-2build1.

dpkg: error processing package megasync (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
 megasync

然后我尝试sudo apt -f install修复这些丢失的依赖项并得到了这个:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  megasync
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 8.368 kB disk space will be freed.
Do you want to continue? [Y/n]

我怎样才能让它修复依赖关系而不删除 MEGAsync?

也试过sudo apt -y install ./megasync-xUbuntu_16.10_amd64.deb并得到:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'megasync' instead of './megasync-xUbuntu_16.10_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 megasync : Depends: libcrypto++6 but it is not installable
            Depends: libqt5core5a (>= 5.6.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is to be installed
            Depends: libqt5svg5 (>= 5.6.0~beta) but 5.5.1-2build1 is to be installed
E: Unable to correct problems, you have held broken packages.
apt
  • 3 个回答
  • 12116 Views
Martin Hope
s3voch7
Asked: 2017-09-27 03:41:07 +0800 CST

Rsync 不适用于 VeraCrypt 容器

  • 2

我有一个脚本,可以在我的外部HD中安装Veracrypt容器,将Rsync文件安装到其中,然后卸载容器。

问题是,如果我连续运行两次,或者一段时间后,由于某种原因,我的所有文件都被再次复制,比如目标文件在第一次运行后都被修改了。

不确定这是我的Rsync线路还是VeraCrypt本身的问题。当您挂载和卸载容器时, VeraCrypt是否可能会更改容器内的文件,这就是 Rsync 认为它们被修改的原因?

这是我对虚拟数据使用的脚本示例:

# Dismount all existing containers
veracrypt -d

# Mount container
veracrypt -t --mount /media/${USER}/HD/vault /media/${USER}/veracrypt -p test --non-interactive

# Sync files
rsync -vhr --progress --delete ~/Downloads/WoW/ /media/${USER}/veracrypt/WoW/

# Dismount
veracrypt -d
rsync
  • 1 个回答
  • 1517 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve