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-430406

Paolo Di Pietro's questions

Martin Hope
Paolo Di Pietro
Asked: 2019-03-21 09:04:33 +0800 CST

在 Ubuntu 18.10 中使用备份时出错(它是 Deja Dup)

  • 4

我的最终目标是对系统(如时光机)进行完整备份,并在发生灾难时使用它重新安装它。中间目标是在一天中多次备份所有工作区域。

好吧,我听从了您的所有建议:删除了已安装的 deja-dup 使用 apt-get 的备份没有备份根(尚未应用建议的补丁来合并 /)

但结果总是一样的。看起来有一些损坏的数据:注意最后的消息总是一样的!!!!

Traceback (innermost last):
  File "/usr/bin/duplicity", line 1555, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1541, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1393, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1511, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 572, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 454, in write_multivol
    (tdp, dest_filename, vol_num)))
  File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 146, in schedule_task
    return self.__run_synchronously(fn, params)
  File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py", line 172, in __run_synchronously
    ret = fn(*params)
  File "/usr/bin/duplicity", line 453, in <lambda>
    vol_num: put(tdp, dest_filename, vol_num),
  File "/usr/bin/duplicity", line 342, in put
    backend.put(tdp, dest_filename)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 395, in inner_retry
    % (n, e.__class__.__name__, util.uexc(e)))
  File "/usr/lib/python2.7/dist-packages/duplicity/util.py", line 79, in uexc
    return ufn(unicode(e).encode('utf-8'))
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 37: ordinal not in range(128)

现在的配置是:

Folder to save: /etc /dev /run /bi /sbin /snap /sys /proc /opt /media /root /lib64 /lib /srv /var /usr /mnt
Folders to ignore: Trash, /backup, /git, /neo4j, /sys_backup /home
Storage location: Local folder - /sys_backup
backup deja-dup 18.10
  • 2 个回答
  • 3152 Views
Martin Hope
Paolo Di Pietro
Asked: 2019-03-06 10:27:28 +0800 CST

无法连接 Microsoft SQL-Server 和 Visual Studio 代码

  • 2

我刚刚在我的 Ubuntu 18.10 机器上安装了适用于 linux 的 MSSQL 2017 和适用于 linux 的 Visual Studio 代码。两个安装都成功了,但我无法从 Visual Studio 连接到数据库。

我有以下正在运行的驱动程序:

$ odbcinst -j

    unixODBC 2.3.7
    DRIVERS............: /etc/odbcinst.ini
    SYSTEM DATA SOURCES: /etc/odbc.ini
    FILE DATA SOURCES..: /etc/ODBCDataSources
    USER DATA SOURCES..: /home/neo4j/.odbc.ini
    SQLULEN Size.......: 8
    SQLLEN Size........: 8
    SQLSETPOSIROW Size.: 8

但是,当我尝试安装

$ sudo apt-get install mssql-tools unixodbc-dev

我收到以下错误:

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:
 mssql-tools : Depends: msodbcsql17 (>= 17.3.0.0) but it is not going to be installed
               Depends: msodbcsql17 (< 17.4.0.0) but it is not going to be installed
 unixodbc-dev : Depends: unixodbc (= 2.3.7)
E: Unable to correct problems, you have held broken packages.

经过大量谷歌搜索,我发现了很多建议,但它们没有运行,比如尝试删除 msodbcsql 和 unixodbc

$ sudo apt-get remove msodbcsql

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'msodbcsql' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

在这一点上,我被锁定,无法继续。

有没有人正在运行的解决方案?

dependencies odbc visual-studio-code 18.10 mssql
  • 3 个回答
  • 10888 Views
Martin Hope
Paolo Di Pietro
Asked: 2019-03-03 16:24:43 +0800 CST

sudo apt-get update 返回警告

  • 1

对这些警告有任何想法吗?我正在运行刚刚升级到最新补丁的 ubuntu 18.10。

Hit:1 http://it.archive.ubuntu.com/ubuntu cosmic InRelease  
Hit:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease                                                                   
Hit:3 http://archive.canonical.com/ubuntu cosmic InRelease                                                                          
Hit:4 http://ppa.launchpad.net/maarten-fonville/ppa/ubuntu cosmic InRelease                                                         
Hit:5 http://it.archive.ubuntu.com/ubuntu cosmic-updates InRelease                                                                  
Hit:6 https://deb.nodesource.com/node_8.x cosmic InRelease                                                                          
Reading package lists... Done                                                
W: Skipping acquire of configured file 'main/binary-amd64/Packages' as  
   repository 'http://archive.canonical.com/ubuntu cosmic InRelease'
   doesn'thave the component 'main' (component misspelt in sources.list?)

每个包裹都会重复多次警告

apt 18.10
  • 1 个回答
  • 702 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